On 04/14/2011 01:58 PM, Ralf Corsepius wrote:
On 04/14/2011 02:01 PM, Vaclav Mocek wrote:
> On 03/10/2011 05:08 PM, Michael Cronenworth wrote:
>> Kam Leo wrote:
>>> It probably has less to do with the boot process and more with disto
>>> upgrading; i.e. less likely that user files get clobbered if /usr is
>>> separate.
>> Nope. It has everything to do with booting. Some packages in /bin
>> depended on libs in /usr/lib{64} so calling the init script before /usr
>> is mounted would fail. There's a discussion about this in the devel list
>> if you search the history for it.
> I thought that programs in /bin and /sbin are not dynamically linked ....
Nope - That's an urban legend.
Programs below /bin and /sbin are supposed not to access anything below
/usr (e.g. be dynamically linked to anything below /usr/lib), c.f.:
http://www.pathname.com/fhs/pub/fhs-2.3.html#BINESSENTIALUSERCOMMANDBINARIES
and
http://www.pathname.com/fhs/pub/fhs-2.3.html#SBINSYSTEMBINARIES
Ralf
Well, ldd confirms that it is an urban legend.
It reminds me, that few months back I observed that Fedora's binaries in
/bin are much bigger that Slackware's binaries (tens of %), both +- the
same version. Now, I am wondering why, if it is dynamically linked.
Vaclav M.