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

Re: [cobalt-developers] system status does not work



* Tim <tnp3@xxxxxxxxx> [010428 14:10]:
> Are there patches for the system status stats? I have
> reinstalled everything twice and not all the stats
> work. Users who have 50+ MB space used say 0 or 0%.
> Anyone else have problems? Are there patches?

That one in particular might be a UNIXism and not a bug.  When you
create a filesystem, you specify what percentage of the disk you want
to be reserved for the super-user... from the mke2fs(8) manpage:

      -m reserved-blocks-percentage
             Specify the percentage of reserved blocks  for  the
             super-user.  This value defaults to 5%.

This is a safety measure more or less, and as a result commands like
"df" will report the percentage as if that 5% (or whatever is reserved)
doesn't exist.