Add missing command documentation to xfs_io(8) manpage.
fiemap, fpunch, chproj, lsproj, and setfl are all missing.
setfl seems to not work today in any case, and nothing
in xfstests uses it; I will send another patch to simply
remove it from xfs_io, as I don't think it's terribly useful,
and hasn't worked forever anyway.
Also fix references to the fallocate manpage, which is (now?)
in section 2, not section 3 of the man pages. (Since it's
a syscall, not a library function).
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
diff --git a/man/man8/xfs_io.8 b/man/man8/xfs_io.8
index f7c6935..33a5944 100644
@@ -245,6 +245,12 @@ Prints the block mapping for the current open file. Refer
.BR xfs_bmap (8)
manual page for complete documentation.
+.BI "fiemap [ \-alv ] [ \-n " nx " ]"
+Prints the block mapping for the current open file using the fiemap
+ioctl. Options behave as described in the
+.BR xfs_bmap (8)
.BI "extsize [ \-R | \-D ] [ " value " ]"
Display and/or modify the preferred extent size used when allocating
space for the currently open file. If the
@@ -355,17 +361,23 @@ manual page.
.BI "falloc [ \-k ]" " offset length"
Allocates reserved, unwritten space for part of a file using the
fallocate routine as described in the
-.BR fallocate (3)
+.BR fallocate (2)
will set the FALLOC_FL_KEEP_SIZE flag as described in
-.BR fallocate (3).
+.BR fallocate (2).
+.BI fpunch " offset length"
+Punches (de-allocates) blocks in the file by calling fallocate with
+the FALLOC_FL_PUNCH_HOLE flag as described in the
+.BR fallocate (2)
.BI truncate " offset"
Truncates the current file at the given offset using
.BR ftruncate (2).
@@ -575,6 +587,24 @@ Selected statistics from
and the XFS_IOC_FSGEOMETRY
system call on the filesystem where the current file resides.
+.BR chproj " [ " \-R | \-D " ]"
+Modifies the project identifier associated with the current path. The
+option will recursively descend if the current path is a directory. The
+option will also recursively descend, only setting modifying projects
+on subdirectories. See the
+.BR xfs_quota (8)
+manual page for more information about project identifiers.
+.BR lsproj " [ " \-R | \-D " ]"
+Displays the project identifier associated with the current path. The
+options behave as described above, in
.BR parent " [ " \-cpv " ]"
By default this command prints out the parent inode numbers,
inode generation numbers and basenames of all the hardlinks which