Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2003 20:20:09 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        masta@wifibsd.org, <dyson@iquest.net>
Cc:        current@freebsd.org
Subject:   Re: Unfortunate dynamic linking for everything
Message-ID:  <p0600202ebbe074b898cb@[128.113.24.47]>
In-Reply-To: <62981.24.0.61.35.1069202574.squirrel@mail.yazzy.org>
References:  <62981.24.0.61.35.1069202574.squirrel@mail.yazzy.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



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