From owner-freebsd-hackers Thu Jul 19 10:57:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 4451237B401 for ; Thu, 19 Jul 2001 10:56:58 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.3/8.9.3) with ESMTP id f6JHuuF64970; Thu, 19 Jul 2001 10:56:57 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.1/8.11.1) id f6JHuua42023; Thu, 19 Jul 2001 10:56:56 -0700 (PDT) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <9D4A4E19244ED4119BE90050DAD5DD47BC554A@mail.quidel.com> Date: Thu, 19 Jul 2001 10:56:55 -0700 (PDT) From: John Baldwin To: Etienne de Bruin Subject: RE: release.8 (4.3-RELEASE) Cc: "freebsd-hackers@freebsd.org" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 -- 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 -- 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