[ale] df -h
Fletch
fletch at phydeaux.org
Fri Oct 11 14:48:37 EDT 2002
>>>>> "Michael" == Michael D Hirsch <mhirsch at nubridges.com> writes:
Michael> I think this is the fact that every filesystem sets aside
Michael> some amount of free space that you aren't allowed to
Michael> touch--typically about 5%. If I do my math right that
Michael> accounts for your missing .5 G.
Default for mke2fs is 5%; you can use tune2fs to check the
exact numbers (and yes, that's all one line)
% sudo tune2fs -l /dev/hda2 | perl -ane '/^Block count:/and$fb=$F[-1];/Reserved block count/and$res=$F[-1];END{printf"reserved $res\tfree $fb\t%0.3f%%\n",$res/$fb*100}'
reserved 212961 free 4259233 5.000%
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 294-0820 (m) | scary questions." -- Jules =(___)=
| U
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list