diff options
author | Fabian Frederick | 2016-11-15 19:52:26 +0100 |
---|---|---|
committer | Karel Zak | 2016-12-02 13:56:32 +0100 |
commit | b439065634e693dda385a6e5269e1d9258d6d471 (patch) | |
tree | d0eda2a77120848b0b3a888028fa58b6b238d2f2 /sys-utils/fallocate.1 | |
parent | wall: add --group option (diff) | |
download | kernel-qcow2-util-linux-b439065634e693dda385a6e5269e1d9258d6d471.tar.gz kernel-qcow2-util-linux-b439065634e693dda385a6e5269e1d9258d6d471.tar.xz kernel-qcow2-util-linux-b439065634e693dda385a6e5269e1d9258d6d471.zip |
fallocate: add insert range support
Based on patch 83cc932d7412
("fallocate: introduce an option -c to support COLLAPSE_RANGE")
This patch includes FALLOC_FL_INSERT_RANGE flag
added to Linux kernel v4.1
Thanks to Pádraig Brady for insert range definition
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Diffstat (limited to 'sys-utils/fallocate.1')
-rw-r--r-- | sys-utils/fallocate.1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-utils/fallocate.1 b/sys-utils/fallocate.1 index f533e1aed..9f24ce6ba 100644 --- a/sys-utils/fallocate.1 +++ b/sys-utils/fallocate.1 @@ -60,6 +60,9 @@ the destination file to the original, without the need for extra disk space. .sp See \fB\-\-punch\-hole\fP for a list of supported filesystems. .TP +.BR \-i , " \-\-insert\-range" +Insert a hole of \fIlength\fR bytes from \fIoffset\fR, shifting existing data. +.TP .BR \-l , " \-\-length " \fIlength Specifies the length of the range, in bytes. .TP |