Date: Thu, 19 Jul 2001 10:56:55 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Etienne de Bruin <et@quidel.com> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@FreeBSD.org> Subject: RE: release.8 (4.3-RELEASE) Message-ID: <XFMail.010719105655.jhb@FreeBSD.org> In-Reply-To: <9D4A4E19244ED4119BE90050DAD5DD47BC554A@mail.quidel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 18-Jul-01 Etienne de Bruin wrote: > But what does this accomplish in the contect of release.8 if our purpose is > to 'copy' all the binaries to the new mfsroot? All the binaries live in /stand. You have /stand/ls, /stand/sysinstall, etc. all as one big crunch file. The /bin and /sbin symlinks allow you to find the binaries in /stand that are normally in /bin and /sbin in their normal location. So in the mfsroot you end up with this: /stand ls hardlink to sysinstall crunch sysinstall ... (other binaries) /bin -> /stand /sbin -> /stand That way you can use /bin/ls to find the ls binary in /stand. > On 18-Jul-01 Etienne de Bruin wrote: >> I was reading the Makefile in /usr/src/release and wondering about the >> >> for dir in bin sbin ; do \ >> ln -sf /stand $$dir; \ >> done >> >> part in release.8 - it is my understanding that all that is under /stand > is >> linked to files in $$dir. >> >> What does this accomplish? > > No, it links $$dir to /stand. This creates /sbin and /bin directories so > that > you can still see /bin/ls even though ls is really in /stand/ls. This is to > make a "normal" path work right, and to allow scripts which assume the > default > location of utilities work. > > -- > > John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ > PGP Key: http://www.baldwin.cx/~john/pgpkey.asc > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010719105655.jhb>