From 47f9b35ef4a6ba0a429b6945b245cc4d87bfac01 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 14 Mar 2016 10:10:11 +0100 Subject: [PATCH] fallocate: improve synopsis and spelling in man page Signed-off-by: Benno Schulenberg --- sys-utils/fallocate.1 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sys-utils/fallocate.1 b/sys-utils/fallocate.1 index dd9f293dbf..5421a11712 100644 --- a/sys-utils/fallocate.1 +++ b/sys-utils/fallocate.1 @@ -3,14 +3,12 @@ fallocate \- preallocate or deallocate space to a file .SH SYNOPSIS .B fallocate -.RB [ \-c ] -.RB [ \-n ] -.RB [ \-p ] -.RB [ \-z ] +.RB [ \-c | \-p | -z ] .RB [ \-o .IR offset ] .B \-l .IR length +.RB [ \-n ] .I filename .PP .B fallocate \-d @@ -25,7 +23,7 @@ is used to manipulate the allocated disk space for a file, either to deallocate or preallocate it. For filesystems which support the fallocate system call, preallocation is done quickly by allocating blocks and marking them as uninitialized, requiring no IO to the data blocks. This is much faster than -creating a file by filling it with zeros. +creating a file by filling it with zeroes. .PP The exit code returned by .B fallocate @@ -46,7 +44,7 @@ to be collapsed starts at \fIoffset\fP and continues for \fIlength\fR bytes. At the completion of the operation, the contents of the file starting at the location \fIoffset\fR+\fIlength\fR will be appended at the location \fIoffset\fR, and the file will be \fIlength\fR bytes smaller. The option -\fB\-\-keep\-size\fR may not be specified for colapse range operation. +\fB\-\-keep\-size\fR may not be specified for the collapse-range operation. .sp Available since Linux 3.15 for ext4 (only for extent-based files) and XFS. .TP -- 2.47.2