From fa9f6f136c069959e6d57c64e2abb209a91e206a Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Thu, 24 Aug 2017 16:43:45 -0500 Subject: [PATCH] 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 --- man/man8/xfs_bmap.8 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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, -- 2.47.2