Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2002 11:00:02 -0800 (PST)
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: i386/36546: absolute symbolic links in FreeBSD 4.5
Message-ID:  <200203311900.g2VJ02P69295@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/36546; it has been noted by GNATS.

From: Giorgos Keramidas <keramida@freebsd.org>
To: Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
Cc: bug-followup@freebsd.org
Subject: Re: i386/36546: absolute symbolic links in FreeBSD 4.5
Date: Sun, 31 Mar 2002 16:40:18 +0300

 Eduardo Viruena Silva wrote:
 > I was installing a diskless workstation.  In the server I do
 > not have a floppy disk driver and I did not installed
 > mtools.  In the client I had the need of using floppies.  I
 > installed the client operating system in a disk slice and
 > mounted it in the server [let us say in "/dl" directory].  I
 > exported "/dl" with all its directories; installed mtools
 > and it crossed the file systems.  dl/usr/local/bin/mwrite ->
 > /usr/local/bin/mtools and I could not use mcopy in the
 > client.
 
 If the server and diskless client run the same OS, you can always use
 chroot(8) in situations like these, to make sure all files end up where
 they're supposed to be, and packages install correctly for the diskless
 client machine:
 
 	server:/tmp# mkdir /diskless/foo/pkg
 	server:/tmp# cp *.tgz /diskless/foo/pkg
 	server:/tmp# chroot /diskless/foo
 	server:/# pkg_add /pkg/bar.tgz
 	server:/# rm -fr /pkg
 	server:/# exit
 	server:/tmp# _
 
 - Giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203311900.g2VJ02P69295>