From 833f9a7aae713278eec5f85266597482f18c7370 Mon Sep 17 00:00:00 2001 From: Denis Chaplygin Date: Tue, 31 Jan 2017 12:51:28 +0100 Subject: 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 --- sys-utils/fallocate.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'sys-utils/fallocate.1') 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 -- cgit v1.2.3-55-g7522