fallocate.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
David Prévot 2012-03-20 07:42:00 +13:00 committed by Michael Kerrisk
parent a9aa137a47
commit 381ee84e1a
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ and
The file size (as reported by
.BR stat (2))
will be changed if
.I "offset + len"
.IR offset + len
is greater than the file size.
This default behavior closely resembles the behavior of the
.BR posix_fallocate (3)
@ -68,7 +68,7 @@ flag is specified in
.IR mode ,
the behavior of the call is similar,
but the file size will not be changed even if
.I "offset + len"
.IR offset + len
is greater than the file size.
Preallocating zeroed blocks beyond the end of the file in this manner
is useful for optimizing append workloads.