Date: Mon, 17 Nov 2003 05:21:51 +0100 From: Erik Trulsson <ertr1013@student.uu.se> To: Brent Jones <brent@santafe.edu> Cc: current@freebsd.org Subject: Re: HEADS UP: /bin and /sbin are now dynamically linked Message-ID: <20031117042151.GA60088@falcon.midgard.homeip.net> In-Reply-To: <1AAE62E6-18A5-11D8-B9A8-000393652EF2@santafe.edu> References: <20031116051028.GA30485@roark.gnf.org> <B40D24A3-1843-11D8-ACF8-00039310484E@zigweid.net> <3FB7A44C.1000002@mindspring.com> <1AAE62E6-18A5-11D8-B9A8-000393652EF2@santafe.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 16, 2003 at 07:24:00PM -0700, Brent Jones wrote: > > On Nov 16, 2003, at 9:22 AM, Richard Coleman wrote: > >Robert M.Zigweid wrote: > >>I'll admit to being mostly a lurker here, but isn't the point of > >>/sbin to be statically linked. That's what the 's' stands for? > >>Second question. This seems to imply that /sbin and /bin both have > >>to have the same behavior? I have no problem with /bin being > >>dynamically linked, but what if I want /bin to be dynamic and /sbin > >>static? > >>Regards, > >>Robert M. Zigweid > > > >I'm not sure what that would accomplish. If a system was broken such > >that the dynamically linked binaries in /bin didn't work, the > >utilities in /sbin wouldn't be enough to fix the system. For > >instance, you wouldn't have a shell or "ls". > > This is just a case of OS evolution. /sbin used to be the place where > the statically linked recovery things would be placed, in case the > shared libraries got hosed. The only things that needed to be > statically linked though, were system utilities, which is why people > probably started to associate the "s" with system, rather than static. > > When this happened, you started to see the duplicates that used to > exist in /bin (or /usr/bin) and /sbin disappear. Since you still need > a place to have statically linked recovery utilities, /rescue was > created. Now you see the duplicates in /bin (or /usr/bin) and /rescue > instead. Do you have any references for this? Every single place that I can find explains /sbin as "system binaries". I have also never heard of there ever being duplicates in /bin of the files in /sbin. -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031117042151.GA60088>