The case for the /usr merge
The case for the /usr merge
Posted Jan 27, 2012 1:15 UTC (Fri) by rickmoen (subscriber, #6943)In reply to: The case for the /usr merge by JoeBuck
Parent article: The case for the /usr merge
Joe wrote:
Your "don't do that then" assumes that people can maintain a careful, rigorous, and correct distinction between /{bin,lib,sbin} and /usr/{bin,lib,sbin} and keep it clean, and evidence shows that they cannot.
Your assertion rests on an incorrect foundational premise. I believe I said 'inappropriate library dependencies'. (Emphasis added.) That's not particularly difficult, as few contents in /lib are critical in situations where /usr is unavailable. One is the mount utility. Checking locally:
$ ldd /bin/mount
linux-gate.so.1 => (0xb7867000)
libblkid.so.1 => /lib/libblkid.so.1 (0xb7842000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb783e000)
libselinux.so.1 => /lib/libselinux.so.1 (0xb7823000)
libsepol.so.1 => /lib/libsepol.so.1 (0xb77ee000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb76a7000)
/lib/ld-linux.so.2 (0xb7868000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb76a2000)
$
Gee, doesn't seem like I even had to do anything to avoid inappropriate /usr dependencies for that one.
Watch out for straw-man arguments, Joe. They can make you sneeze.
Rick Moen
rick@linuxmafia.com
