>>> On Fri, Mar 23, 2007 at  4:34 PM, in message
<[EMAIL PROTECTED]>, Richard Troth
<[EMAIL PROTECTED]> wrote: 
> Could it be the reserved space?
> 
> The is a percentage, typically 10%, in each filesystem set aside for root's 
> use. Look at the  statfs()  system call. Check the difference between b_free 
> and b_avail.
-snip-

For ext[23], it's 5%, not 10%.  It would be easier to use the dumpe2fs command 
instead of writing a program to issue statfs.  Look for Block count and 
Reserved block count.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to