mirror of git://git.suckless.org/ubase
Fix fallocate(1) manpage
To be honest, I had a little misunderstanding of the fallocate(1)- utility. It turns out that it only adds preallocated space if the length exceeds the size of an already existing file. No truncation happens. Thus, I fixed the wording accordingly.
This commit is contained in:
parent
e3b20bbda0
commit
3e7e1e9644
12
fallocate.1
12
fallocate.1
|
@ -1,9 +1,9 @@
|
|||
.Dd September 11, 2015
|
||||
.Dd September 12, 2015
|
||||
.Dt FALLOCATE 1
|
||||
.Os ubase
|
||||
.Sh NAME
|
||||
.Nm fallocate
|
||||
.Nd reallocate files
|
||||
.Nd preallocate files
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl o Ar num
|
||||
|
@ -11,17 +11,17 @@
|
|||
.Ar file ...
|
||||
.Sh DESCRIPTION
|
||||
.Nm
|
||||
if necessary creates and reallocates each
|
||||
if necessary creates and preallocates each
|
||||
.Ar file
|
||||
resulting in expansion or truncation.
|
||||
without truncation.
|
||||
.sp
|
||||
Given the filesystem supports
|
||||
.Xr fallocate 2 ,
|
||||
it is a very fast method of reallocation.
|
||||
it is a very fast method of preallocation.
|
||||
.Sh OPTIONS
|
||||
.Bl -tag -width Ds
|
||||
.It Fl l Ar num
|
||||
Allocate
|
||||
Preallocate
|
||||
.Ar num
|
||||
bytes.
|
||||
.It Fl o Ar num
|
||||
|
|
Loading…
Reference in New Issue