getting file system size in linux
A reminder to myself, statvfs allows you yo get an information about a mount point, it’s probably what df uses.

A reminder to myself, statvfs allows you yo get an information about a mount point, it’s probably what df uses.

The URI to TrackBack this entry is: http://linux4all.blogsome.com/2009/05/05/getting-file-system-size-in-linux/trackback/
RSS feed for comments on this post.
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Get free blog up and running in minutes with Blogsome
Theme designed by Gary Rogers
You’re right, df uses statvfs() (the code is in coreutils, along with some other interesting utils I’ve never heard of before)
Comment by Amit Schreiber — May 5, 2009 @ 09:00