Date: Sat, 29 Jul 2000 03:18:57 -0500 (CDT) From: Doug Lee <dgl@visi.com> To: freebsd-questions@freebsd.org Subject: Fake root for symlinks? Message-ID: <Pine.BSF.4.21.0007290310130.81871-100000@kirk.dsl.visi.com>
next in thread | raw e-mail | index | archive | help
I have had occasion to mount drives and NFS shares containing absolute symlinks which, once mounted, point to the wrong thing. Can I somehow make the "root" for such absolute links something other than /? Example: I mount an old FreeBSD drive in /old complete with all its partitions: The old / becomes /old, the old /usr becomes /old/usr, etc. (I recently did this while upgrading from 3.4 to 4.1 via a fresh install on a new drive.) I then make the mistake of trying to change to /old/home, which was a symlink to the old /usr/home... but now I'm suddenly waking up in /usr/home on my current system. I want to mount the old partitions such that the absolute symlink /old/home --> /usr/home is redirected to point to /old/usr/home. This is surely a problem encountered by many folks making NFS mounts as well. -- Doug Lee dgl@visi.com http://www.visi.com/~dgl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007290310130.81871-100000>