WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
/usr/local of tc mounted on another linux
« on: May 20, 2009, 02:06:35 PM »
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, 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