summaryrefslogtreecommitdiffstats
path: root/sys-utils/fallocate.1
diff options
context:
space:
mode:
authorDenis Chaplygin2017-01-31 12:51:28 +0100
committerKarel Zak2017-01-31 12:51:28 +0100
commit833f9a7aae713278eec5f85266597482f18c7370 (patch)
tree86f83f6e5cf4153a53497d89dd727ca3c0dead23 /sys-utils/fallocate.1
parentlscpu: Detect Windows Subsystem for Linux (diff)
downloadkernel-qcow2-util-linux-833f9a7aae713278eec5f85266597482f18c7370.tar.gz
kernel-qcow2-util-linux-833f9a7aae713278eec5f85266597482f18c7370.tar.xz
kernel-qcow2-util-linux-833f9a7aae713278eec5f85266597482f18c7370.zip
fallocate: Added posix_fallocate() support.
No all filesystems support Linux fallocate. The new option allow use posix implementation if necessary. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/fallocate.1')
-rw-r--r--sys-utils/fallocate.111
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-utils/fallocate.1 b/sys-utils/fallocate.1
index 6133b71c8..0cbb5c994 100644
--- a/sys-utils/fallocate.1
+++ b/sys-utils/fallocate.1
@@ -17,6 +17,13 @@ fallocate \- preallocate or deallocate space to a file
.RB [ \-l
.IR length ]
.I filename
+.PP
+.B fallocate \-x
+.RB [ \-o
+.IR offset ]
+.RB \-l
+.IR length
+.I filename
.SH DESCRIPTION
.B fallocate
is used to manipulate the allocated disk space for a file, either to deallocate
@@ -88,6 +95,10 @@ Btrfs (since Linux 3.7) and tmpfs (since Linux 3.5).
.BR \-v , " \-\-verbose"
Enable verbose mode.
.TP
+.BR \-x , " \-\-posix"
+Enable POSIX operation mode. In that mode allocation operation always completes,
+but it may take longer time when fast allocation is not supported by the underlying filesystem.
+.TP
.BR \-z , " \-\-zero\-range"
Zeroes space in the byte range starting at \fIoffset\fP and
continuing for \fIlength\fR bytes. Within the specified range, blocks are