[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird df info



Hi,

On Thu, 14 Jan 1999, Alex Shnitman wrote:

> 
> I did a small experiment to compare gzip and bzip2, and noticed a very
> strange thing with the reporting of free diskspace. "zz" is just a
> copy of the first 89 MB of /dev/zero. :-) Now look at this:
> 
> alexsh:~> ls -l zz*
> -rw-------   1 alexsh   alexsh   89088000 Jan 14 19:41 zz
> -rw-r--r--   1 alexsh   alexsh       6793 Jan 14 19:49 zz.bz2
> -rw-r--r--   1 alexsh   alexsh      86489 Jan 14 19:42 zz.gz
~90 MB total.

> alexsh:~> df
> Filesystem         1024-blocks  Used Available Capacity Mounted on
> /dev/hda3            3369806 1160824  2174121     35%   /
> alexsh:~> df
> /dev/hda3            3369806 1073388  2261557     32%   /

delta = ~90MB. what's wrong with this? Or am I missing the question here?

Shachar.