Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Email Archive

Re: Filesystem configuration

Toomas Losin
Tue, 22 Sep 1998 21:29:02 -0700

Curt Sampson writes:

> On Tue, 22 Sep 1998, Toomas Losin wrote:
>
> > I have /, /usr, and /var on separate filesystems.
>
> Really? And everything else fits in 16 MB? That's seems odd to me,
> given the size of /lib (7 MB) /bin (3 MB) /sbin (2 MB) and so on
> that I've seen on Linux systems. Or do you do this differently?

I prune the stuff I don't need. I'm not sure how much bigger / would
get if I didn't do that.

2843 /bin
799 /boot
122 /dev
978 /etc
7824 /lib
12 /lost+found
3 /mnt
0 /proc
473 /root
1662 /sbin
46 /tmp
-----
14762

This doesn't leave much headroom with 5.1. As Red Hat grows and I get
lazier I expect that size to go up.

> Under NetBSD I generally use a 64 MB root partition, although you
> can fit pretty comfortably into 32 MB on most systems. We don't
> have a /lib, but all of our /bin and /sbin/binaries are statically
> linked.

This is one of my Red Hat gripes. Important binaries are *not*
statically linked. I haven't been bitten by it yet but the
possibility is annoying.

[tlo@mervyn] ~: ldd /bin/sh
libtermcap.so.2 => /lib/libtermcap.so.2 (0x40004000)
libc.so.6 => /lib/libc.so.6 (0x40007000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)

-- 
Toomas Losin                            ParaLynx Internet



New Westminster, BC