summaryrefslogtreecommitdiffstats
path: root/sys-utils/fallocate.1
diff options
context:
space:
mode:
authorSami Kerola2011-09-19 21:19:47 +0200
committerSami Kerola2011-09-29 22:06:12 +0200
commit1d803460f7d00d8e8e995b50bb2f3aecfa87a38b (patch)
tree64964abe4bab33612986648740c85a7c5aa565a9 /sys-utils/fallocate.1
parenttests: add loopdev libmount test (diff)
downloadkernel-qcow2-util-linux-1d803460f7d00d8e8e995b50bb2f3aecfa87a38b.tar.gz
kernel-qcow2-util-linux-1d803460f7d00d8e8e995b50bb2f3aecfa87a38b.tar.xz
kernel-qcow2-util-linux-1d803460f7d00d8e8e995b50bb2f3aecfa87a38b.zip
docs: align fallocate.1 with howto-man-page.txt
Add also earlierly missing --version to the manual. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/fallocate.1')
-rw-r--r--sys-utils/fallocate.126
1 files changed, 16 insertions, 10 deletions
diff --git a/sys-utils/fallocate.1 b/sys-utils/fallocate.1
index 2020437fb..c0dd483e7 100644
--- a/sys-utils/fallocate.1
+++ b/sys-utils/fallocate.1
@@ -1,5 +1,5 @@
.\" -*- nroff -*-
-.TH FALLOCATE 1 "July 2009" "util-linux" "User Commands"
+.TH FALLOCATE 1 "September 2011" "util-linux" "User Commands"
.SH NAME
fallocate \- preallocate space to a file
.SH SYNOPSIS
@@ -28,25 +28,31 @@ is 0 on success and 1 on failure.
The \fIlength\fR and \fIoffset\fR arguments may be followed by binary (2^N)
suffixes KiB, MiB, GiB, TiB, PiB and EiB (the "iB" is optional, e.g. "K" has the
same meaning as "KiB") or decimal (10^N) suffixes KB, MB, GB, PB and EB.
-.IP "\fB\-h, \-\-help\fP"
-Print help and exit.
.IP "\fB\-n, \-\-keep-size\fP"
-Do not modify the apparent length of the file. This may effectively allocate
+Do not modify the apparent length of the file. This may effectively allocate
blocks past EOF, which can be removed with a truncate.
.IP "\fB\-o, \-\-offset\fP \fIoffset\fP
Specifies the beginning offset of the allocation, in bytes.
.IP "\fB\-l, \-\-length\fP \fIlength\fP
Specifies the length of the allocation, in bytes.
+.IP "\fB\-h, \-\-help\fP"
+Print help and exit.
+.IP "\fB-V, \-\-version"
+Print version and exit.
.SH AUTHORS
-.nf
-Eric Sandeen <sandeen@redhat.com>
-Karel Zak <kzak@redhat.com>
-.fi
+.UR sandeen@redhat.com
+Eric Sandeen
+.UE
+.br
+.UR kzak@redhat.com
+Karel Zak
+.UE
.SH SEE ALSO
.BR fallocate (2),
.BR posix_fallocate (3),
.BR truncate (1)
.SH AVAILABILITY
The fallocate command is part of the util-linux package and is available from
-ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
-
+.UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
+Linux Kernel Archive
+.UE .