aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZirong Lang <zlang@redhat.com>2017-05-03 14:54:00 -0500
committerEric Sandeen <sandeen@redhat.com>2017-05-03 14:54:00 -0500
commitced40f268d4e8323cda6afac3aa97e36c87d6c17 (patch)
tree30589805dea91b4762af55cb065a28fcc1c0a64f
parentb194269287da13af393daa0397ed014e8b6ad7e1 (diff)
downloadxfsprogs-dev-ced40f268d4e8323cda6afac3aa97e36c87d6c17.tar.gz
xfs_io: add missed inode command into man page
There's an "inode" command in xfs_io, it's used to query physical information about an inode. But there's not any information about it in xfs_io and other related man pages. So document this command in the xfs_io man page now. [sandeen: include some of djwong's edits] Signed-off-by: Zorro Lang <zlang@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
-rw-r--r--man/man8/xfs_io.825
1 files changed, 25 insertions, 0 deletions
diff --git a/man/man8/xfs_io.8 b/man/man8/xfs_io.8
index b09a178908..7db7ffda52 100644
--- a/man/man8/xfs_io.8
+++ b/man/man8/xfs_io.8
@@ -955,6 +955,31 @@ verbose output will be printed.
.RE
.IP
.B [NOTE: Not currently operational on Linux.]
+.RE
+.PD
+.TP
+.BI "inode [ [ -n ] " number " ] [ -v ]"
+The inode command queries physical information about an inode. With
+no arguments, it will return 1 or 0, indicating whether or not any
+inode numbers greater than 32 bits are currently in use in the filesystem.
+If given an inode
+.I number
+as an argument, the command will return the same inode
+.I number
+if it is in use, or 0 if not. With
+.BI \-n " number"
+, the next used inode number after this
+.I number
+will be returned, or zero if the supplied inode number is the highest one
+in use. With
+.B \-v
+the command will also report the number of bits (32 or 64) used by the
+inode
+.I number
+printed in the result; if no inode
+.I number
+was specified on the command line, the maximum possible inode number in
+the system will be printed along with its size.
.PD
.TP
.BI "set_encpolicy [ \-c " mode " ] [ \-n " mode " ] [ \-f " flags " ] [ \-v " version " ] [ " keydesc " ]