Hello,
Is there somewhere a detailed explanation about the internals of xfs
programming? I mean, the xfsctl(3) man page explains some concepts, but
for others it ends with "The remainder of these operations will not be
described further as they are not of general use to applications.".
Currently, I'm not sure about the following:
- XFS_GET_RESBLKS and XFS_SET_RESBLKS - are these equivalent to ext2's
"-r" and "-m" options?
- is there a possibility to walk the AGs and query each one in turn
(about starting block number, number of blocks, etc.) so that I
could find out for each AG the usage and what files have extents in
it?
- all xfsctl operations require root?
Basically, I'm interested in some writing some read-only applications
for querying the layout of the filesystem.
Thanks,
Iustin Pop
|