[ale] df -h

Geoffrey esoteric at 3times25.net
Fri Oct 11 14:49:54 EDT 2002


Yeah sure Fletch, for all we know that perl script will transfer funds 
from our checking accounts to an account of yours....

Fletch wrote:
>>>>>>"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%
> 

-- 
Until later: Geoffrey		esoteric at 3times25.net

I didn't have to buy my radio from a specific company to listen
to FM, why doesn't that apply to the Internet (anymore...)?


---
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