On Thu, Mar 21, 2002 at 07:45:19PM +0800, LUK ShunTim wrote:
> The whole thing adds up to ~35 M. However, df -h gives 93 M for the / 
> partition space and 83 M as used. Probably lots of small files each eating 
> up 1K (the min. file size in ext2, IIRC)

Did you try "du -hsx /"?

> A 100 M / partition is not large enough for present day kernels (if you'd 
> like to keep the old one while installing a new one) may be the appropriate 
> conclusion?

Let me see (I have many old kernel binaries in /boot and /lib and / does
not include /usr /var /home /tmp)

[EMAIL PROTECTED]:/# df -h /
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             1.9G  155M  1.6G   9% /
[EMAIL PROTECTED]:/# du -hsx /
123M    /

It is true that "du" underestimates file usage and / may better have
~200MB or more.  Even after removing all old kernels and initrd images,

[EMAIL PROTECTED]:root# df -h /
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             1.9G   79M  1.7G   5% /
[EMAIL PROTECTED]:root# du -hsx /
46M     /

System requires almost 80MB on harddisk.  Size of modules in "du"
already exceeds 20MB, so one has no chance having 2 of 2.4 kernels on a
machine with 100MB root partition :)  Looking at this, 150MB-250MB seems
the good root partition size these days.

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
 Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D
.
 See "Debian reference": http://www.debian.org/doc/manuals/quick-reference/
 Project at: http://qref.sf.net
.
 I welcome your constructive criticisms and corrections.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to