xfs
[Top] [All Lists]

Re: development APIs for used/free blocks information

To: Benjamin Wirth <Benjamin.Wirth@xxxxxxxxxxxx>
Subject: Re: development APIs for used/free blocks information
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 27 Apr 2016 08:21:29 +1000
Cc: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <97A4F433DEE099488FE21C1718A641D2139E86F5@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <97A4F433DEE099488FE21C1718A641D2139E86F5@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
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@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>