Re: Unfortunate dynamic linking for everything

From: Garance A Drosihn <drosih_at_rpi.edu>
Date: Tue, 18 Nov 2003 20:20:09 -0500
At 6:42 PM -0600 11/18/03, masta wrote:
>
>Besides, I see nothing preventing anybody from building
>their system with static worlds,

true...

>and there is nothing stopping anybody from putting /rescue
>in the PATH before /bin or /sbin.

Note that this will not have the same performance as the
older all-static setup, because each binary in /rescue
is a crunchgen'ed combination of *all* the commands there.
They're all hardlinked together.  Eg:

(332) # ls -l /bin/cp /rescue/cp
-r-xr-xr-x    1 root  wheel   113372 Nov 16 02:29 /bin/cp*
-r-xr-xr-x  131 root  wheel  3807836 Nov 16 02:30 /rescue/cp*

I have no idea what kind of a difference that would make,
I'm just saying that it is different...  :-)

-- 
Garance Alistair Drosehn            =   gad_at_gilead.netel.rpi.edu
Senior Systems Programmer           or  gad_at_freebsd.org
Rensselaer Polytechnic Institute    or  drosih_at_rpi.edu
Received on Tue Nov 18 2003 - 16:20:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:29 UTC