ioctl_ficlonerange.2: Mention a subtlety with length == 0

Passing length == 0 to clonerange actually makes it clone
all the way to EOF.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
Darrick J. Wong 2016-07-14 11:11:11 -07:00 committed by Michael Kerrisk
parent a9562222f7
commit e4fcb7bcc3
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ into the file
at offset
.IR dest_offset ",
provided that both are files.
If
.IR src_length
is zero, the ioctl reflinks to the end of the source file.
This information is conveyed in a structure of
the following form:
.in +4n