From 7d8f4a163480312b09d16a515b1d22e80fdd994a Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Thu, 28 Mar 2019 18:05:01 -0500 Subject: [PATCH] xfs_io: document fzero_f -k option in manpage Perhaps the reason -k was broken is that nobody knew it existed? Fixes: 938904c4 ("xfs_io: add fzero command for zeroing range via fallocate") Signed-off-by: Eric Sandeen Reviewed-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- man/man8/xfs_io.8 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man/man8/xfs_io.8 b/man/man8/xfs_io.8 index fbf50df57..980dcfd35 100644 --- a/man/man8/xfs_io.8 +++ b/man/man8/xfs_io.8 @@ -516,10 +516,13 @@ Call fallocate with FALLOC_FL_UNSHARE_RANGE flag as described in the .BR fallocate (2) manual page to unshare all shared blocks within the range. .TP -.BI fzero " offset length" +.BI "fzero [ \-k ]" " offset length" Call fallocate with FALLOC_FL_ZERO_RANGE flag as described in the .BR fallocate (2) manual page to allocate and zero blocks within the range. +With the +.B -k +option, use the FALLOC_FL_KEEP_SIZE flag as well. .TP .BI zero " offset length" Call xfsctl with -- 2.39.2