[UFO Chicago] Re: Brian's Conversion from FreeBSD to Debian and
Questions on X
Nate Riffe
inkblot at movealong.org
Tue May 9 14:21:16 PDT 2006
Jesse Becker said this (probably recently):
> --- jordanb at hafd.org wrote:
> > Brian Sobolak said:
> > > what about /bin vs /usr/bin?
> >
> > /bin consists of stuff that you need in the event of a
> > boot failure where partitions fail to mount. /bin must be
> > on the root partition.
>
> In theory....
>
> > /usr/bin are all those tools that are not essential and
> can
> > be put on a separate partition.
>
> ...except when they can't be put on other partitions
> because the binaries are linked against stuff in /usr/lib.
>
> This bit me once, and never again will /usr be seperate
> from /. Most distributions are better about this, but
> still not perfect. Run this snippet, and tell me if you
> want to split /usr and /.
>
> for f in /bin/* /sbin/* ; do ldd $f | grep -q usr; if [
> "$?" -eq 0 ]; then echo $f: ; ldd $f ; fi; done
[inkblot at dorothy:~]$ for f in /bin/* /sbin/* ; do ldd $f | grep -q \
usr; if [ "$?" -eq 0 ]; then echo $f: ; ldd $f ; fi; done
/sbin/fsck.cramfs:
linux-gate.so.1 => (0xffffe000)
libz.so.1 => /usr/lib/libz.so.1 (0x4001c000)
libc.so.6 => /lib/tls/libc.so.6 (0x4002e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
/sbin/mkfs.cramfs:
linux-gate.so.1 => (0xffffe000)
libz.so.1 => /usr/lib/libz.so.1 (0x4001c000)
libc.so.6 => /lib/tls/libc.so.6 (0x4002e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
I can live with that.
--
--< ((\))< >----< inkblot at movealong.org >----< http://www.movealong.org/ >--
pub 1024D/05A058E0 2002-03-07 Nate Riffe (06-Mar-2002) <inkblot at movealong.org>
Key fingerprint = 0DAC F5CB D182 3165 D757 C466 CD42 12A8 05A0 58E0
More information about the ufo
mailing list