xfs_io: add missed inode command into man page
PATCH v2 1/2 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.
---
Hi,
This V2 follow Eric's suggestion, changed some description, and moved the inode command from "FILE I/O" section to "OTHER COMMANDS" section.
Thanks,
Zorro
man/man8/xfs_io.8 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
man/man8/xfs_io.8 +24 -0
@@ -923,6 +923,30 @@ 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 if any +inode numbers greater than 32 bits are currently in use in the filesystem. +If given an inode +.I number +as an argument, then inode command will return this inode +.I number +if it's in use, or 0 if not. With +.BI \-n " number" +, the next used inode number after this +.I number +will be returned, or 0 if can't find the next one. 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 commandline, 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 " ]
Signature · 1 line
2.7.4
Re: [PATCH v2 1/2] xfs_io: add missed inode command into man page\
Quoted 24 lines · Zorro Lang
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 inxfs_ioand other related man pages. So document this command in thexfs_ioman page now.Signed-off-by Zorro Lang <[email protected]>---
Hi,
This V2 follow Eric's suggestion, changed some description, and moved the inode command from "FILE I/O" section to "OTHER COMMANDS" section.
Thanks,
Zorroman/man8/xfs_io.8 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)man/man8/xfs_io.8 +0
-0
man/man8/xfs_io.8 verbose output will be printed. · line 931
Quoted 9 lines
man/man8/xfs_io.8 +6
-0@@ -923,6 +923,30 @@ 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 if any
"...whether or not any..."
man/man8/xfs_io.8 verbose output will be printed. · line 935
Quoted 4 lines
man/man8/xfs_io.8 +4
-0+inode numbers greater than 32 bits are currently in use in the filesystem. +If given an inode +.I number +as an argument, then inode command will return this inode
"..as an argument, the command will return the same inode number..."
man/man8/xfs_io.8 verbose output will be printed. · line 937
Quoted 2 lines
man/man8/xfs_io.8 +2
-0+.I number +if it's in use, or 0 if not. With
"..if it is in use..."
man/man8/xfs_io.8 verbose output will be printed. · line 941
Quoted 4 lines
man/man8/xfs_io.8 +4
-0+.BI \-n " number" +, the next used inode number after this +.I number +will be returned, or 0 if can't find the next one. With
"...or zero if the supplied inode number is the highest one in use."
man/man8/xfs_io.8 verbose output will be printed. · line 948
Quoted 7 lines
man/man8/xfs_io.8 +7
-0+.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 commandline, the maximum possible inode number in
"..command line..."
man/man8/xfs_io.8 verbose output will be printed. · line 949
Quoted 1 line
man/man8/xfs_io.8 +1
-0+the system will be printed along with its size.
/me also grumbles about not starting each sentence on a separate line. Not enough to go fix all the manpages, though. :P
Otherwise,
(FWIW if Eric wants to massage the patch on the way in rather than waiting for another send-review cycle that's fine with me.)
--D
Quoted 10 lines
man/man8/xfs_io.8 +0
-0.PD .TP .BI "set_encpolicy [ \-c " mode " ] [ \-n " mode " ] [ \-f " flags " ] [ \-v " version " ] [ " keydesc " ]Signature · 6 lines
2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v2 1/2] xfs_io: add missed inode command into man page\
Quoted 2 lines · Darrick J. Wong
(FWIW if Eric wants to massage the patch on the way in rather than waiting for another send-review cycle that's fine with me.)
I'll do that.
Thanks Darrick.
-Eric