binaries and libries in /lib /bin depends on/usr

Michael A. Peters mpeters at mac.com
Sat Jun 3 15:28:17 UTC 2006


On Sat, 2006-06-03 at 06:33 -0400, Rex Dieter wrote:
> Patrice Dumas wrote:
> > Hello,
> > 
> > I was under the impression that the commands and libraries in /bin and
> > /lib were meant to be usable without /usr mounted. Is it right?
> > However rpm which is a rather important command requires libraries
> > in /usr/lib:
> > 
> > [dumas at patoune lib]$ ldd /bin/rpm | grep usr
> 
> A related question is: why is rpm in /bin, and not /usr/bin/?  (I'd 
> venture to guess this may have something to do with 
> anaconda/installer-stage stuff).

I'm pretty sure it use to be statically linked, and probably remains
in /bin for historic reasons.

I'm guessing those that there are few situations where rpm is useful
when /usr is not mounted.




More information about the fedora-devel-list mailing list