development APIs for used/free blocks information

Dave Chinner david at fromorbit.com
Tue Apr 26 17:21:29 CDT 2016


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

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list