From: Eric Sandeen Date: Thu, 24 Aug 2017 21:43:45 +0000 (-0500) Subject: xfs_bmap: fix -n documentation in manpage X-Git-Tag: v4.13.0-rc1~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa9f6f136c069959e6d57c64e2abb209a91e206a;p=thirdparty%2Fxfsprogs-dev.git xfs_bmap: fix -n documentation in manpage xfs_bmap's manpage mis-describes the behavior of the -n option. xfs_io's fiemap command references the xfs_bmap manpage, and has the same problem: -n does not change the query batch size, it limits the number of extents displayed. This has been true for 15+ years, so change the documentation to match reality. Signed-off-by: Eric Sandeen Reviewed-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/man/man8/xfs_bmap.8 b/man/man8/xfs_bmap.8 index 098cfae58..c72551920 100644 --- a/man/man8/xfs_bmap.8 +++ b/man/man8/xfs_bmap.8 @@ -77,12 +77,11 @@ option is used. .BI \-n " num_extents" If this option is given, .B xfs_bmap -obtains the extent list of the file in groups of +will display at most .I num_extents extents. In the absence of .BR \-n ", " xfs_bmap -queries the system for the number of extents in the file and uses that -value to compute the group size. +will display all extents in the file. .TP .B \-p If this option is used,