@@ -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);
@@ -530,7 +530,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
@@ -560,7 +560,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
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> --- io/reflink.c | 4 ++-- man/man8/xfs_io.8 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html