Re: why are there /bin and /usr/bin...
Bruce Sass <firstname.lastname@example.org> writes:
> I was curious so...
> $ for f in /bin/* /sbin/*; do if [ "`file $f | grep ELF`" != "" ] ; then
> if [ "`ldd $f | grep /usr`" != "" ] ; then echo `dpkg -S $f`; ldd $f;
> fi; fi; done
> iputils-ping: /bin/ping6
> linux-gate.so.1 => (0xb770d000)
> libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0x472dc000)
> libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8
Note that there is /lib/libcrypt* (at least here). This is just the more
optimized flavour the ld.so picks when the cpu supports it. But ping6
will run fine with the basic library if /usr is missing.
A better test might be to do this without /usr mounted.