Tiny Core Linux

General TC => General TC Talk => Topic started by: jls on May 20, 2009, 02:06:35 PM

Title: /usr/local of tc mounted on another linux
Post by: jls on May 20, 2009, 02:06:35 PM
has anyone tried this?
Title: Re: /usr/local of tc mounted on another linux
Post by: mikshaw on May 21, 2009, 07:59:16 AM
As in "has anyone tried to use TC's /usr/local as /usr/local in another distro"?
I suppose it would work to an extent, assuming the other distro uses libs that are compatible with TC.  You would probably find that some apps will work, and some might not work.

In order to do it you would probably need to mount the tclocal directory to /usr/local using a startup script rather than /etc/fstab, since it would need to use mount --bind.
In other words, you'd set up the partition in /etc/fstab to be mounted somewhere other than /usr/local (/mnt/local, for example), and then use a startup script to bind /mnt/local/tclocal to /usr/local