WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: /usr/local of tc mounted on another linux  (Read 1939 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
/usr/local of tc mounted on another linux
« on: May 20, 2009, 11:06:35 AM »
has anyone tried this?
dCore user

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: /usr/local of tc mounted on another linux
« Reply #1 on: May 21, 2009, 04: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