]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fallocate: improve synopsis and spelling in man page
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 14 Mar 2016 09:10:11 +0000 (10:10 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Mar 2016 15:11:04 +0000 (16:11 +0100)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
sys-utils/fallocate.1

index dd9f293dbf5c0f85623b51469627622a891bcd06..5421a117126d2d291497d37131f653b357f7b50c 100644 (file)
@@ -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