mirror of
git://git.suckless.org/ubase
synced 2025-02-16 10:37:14 +00:00
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
|
.Dt FALLOCATE 1
|
||||||
.Os ubase
|
.Os ubase
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm fallocate
|
.Nm fallocate
|
||||||
.Nd reallocate files
|
.Nd preallocate files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl o Ar num
|
.Op Fl o Ar num
|
||||||
@ -11,17 +11,17 @@
|
|||||||
.Ar file ...
|
.Ar file ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
if necessary creates and reallocates each
|
if necessary creates and preallocates each
|
||||||
.Ar file
|
.Ar file
|
||||||
resulting in expansion or truncation.
|
without truncation.
|
||||||
.sp
|
.sp
|
||||||
Given the filesystem supports
|
Given the filesystem supports
|
||||||
.Xr fallocate 2 ,
|
.Xr fallocate 2 ,
|
||||||
it is a very fast method of reallocation.
|
it is a very fast method of preallocation.
|
||||||
.Sh OPTIONS
|
.Sh OPTIONS
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Fl l Ar num
|
.It Fl l Ar num
|
||||||
Allocate
|
Preallocate
|
||||||
.Ar num
|
.Ar num
|
||||||
bytes.
|
bytes.
|
||||||
.It Fl o Ar num
|
.It Fl o Ar num
|
||||||
|
Loading…
Reference in New Issue
Block a user