From b439065634e693dda385a6e5269e1d9258d6d471 Mon Sep 17 00:00:00 2001 From: Fabian Frederick Date: Tue, 15 Nov 2016 19:52:26 +0100 Subject: 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 --- sys-utils/fallocate.1 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys-utils/fallocate.1') 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 -- cgit v1.2.3-55-g7522