]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_bmap: fix -n documentation in manpage
authorEric Sandeen <sandeen@sandeen.net>
Thu, 24 Aug 2017 21:43:45 +0000 (16:43 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 24 Aug 2017 21:43:45 +0000 (16:43 -0500)
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 <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
man/man8/xfs_bmap.8

index 098cfae589f02ff045d6437742509eb6240ac83e..c7255192049a3d8efda0676706c20a812e07128b 100644 (file)
@@ -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,