]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_io: fix some documentation problems
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jan 2017 20:12:41 +0000 (14:12 -0600)
committerEric Sandeen <sandeen@redhat.com>
Thu, 12 Jan 2017 20:12:41 +0000 (14:12 -0600)
Describe the numberless (i.e. "reflink the whole file") behavior
in the xfs_io help system and since the clone/dedupe ioctls were
promoted to the VFS before XFS reflink landed, mention those in
the manpage.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
io/reflink.c
man/man8/xfs_io.8

index f008319031a766881998f53cfd8b1634a7c4fe4e..4c822b39dce772de02956c916cfde6251bc9d36a 100644 (file)
@@ -306,9 +306,9 @@ reflink_init(void)
        reflink_cmd.argmax = -1;
        reflink_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
        reflink_cmd.args =
-_("infile src_off dst_off len");
+_("infile [src_off dst_off len]");
        reflink_cmd.oneline =
-               _("reflinks a number of bytes at a specified offset");
+               _("reflinks an entire file, or a number of bytes at a specified offset");
        reflink_cmd.help = reflink_help;
 
        add_command(&reflink_cmd);
index fd6f41d50faa4df9e11243ecbae633b23b650dbf..db7fa904f16e495e590ec6dc3680ad33245846e3 100644 (file)
@@ -528,7 +528,7 @@ both data and holes are displayed together or performing a recusively display.
 .TP
 .BI "reflink  [ \-C ] [ \-q ] src_file [src_offset dst_offset length]"
 On filesystems that support the
-.B XFS_IOC_CLONE_RANGE
+.B FICLONERANGE
 or
 .B BTRFS_IOC_CLONE_RANGE
 ioctls, map
@@ -557,7 +557,7 @@ Do not print timing statistics at all.
 .TP
 .BI "dedupe  [ \-C ] [ \-q ] src_file src_offset dst_offset length"
 On filesystems that support the
-.B XFS_IOC_FILE_EXTENT_SAME
+.B FIDEDUPERANGE
 or
 .B BTRFS_IOC_FILE_EXTENT_SAME
 ioctls, map