Re: development APIs for used/free blocks information

Dave Chinner
2016-04-26T22:21:53Z

On Tue, Apr 26, 2016 at 08:51:10PM +0000, Benjamin Wirth wrote:
> Hello,
>
> I was looking for development APIs for XFS. The contents of
> xfsprogs-devel seem to only contain a few IOCTL commands, mostly
> file/inode based operations.
>
> I need to query free/used blocks of an entire XFS filesystem and
> was hoping to find some user-space APIs for this.

$ man 2 statvfs