Linux, programming, computers and life

May 5, 2009

getting file system size in linux

Filed under: programming, linux

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

, ,

1 Comment »

The URI to TrackBack this entry is: http://linux4all.blogsome.com/2009/05/05/getting-file-system-size-in-linux/trackback/

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

RSS feed for comments on this post.

Leave a comment

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>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome
Theme designed by Gary Rogers