3e7e1e9644
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.
34 lines
499 B
Groff
34 lines
499 B
Groff
.Dd September 12, 2015
|
|
.Dt FALLOCATE 1
|
|
.Os ubase
|
|
.Sh NAME
|
|
.Nm fallocate
|
|
.Nd preallocate files
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl o Ar num
|
|
.Fl l Ar num
|
|
.Ar file ...
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
if necessary creates and preallocates each
|
|
.Ar file
|
|
without truncation.
|
|
.sp
|
|
Given the filesystem supports
|
|
.Xr fallocate 2 ,
|
|
it is a very fast method of preallocation.
|
|
.Sh OPTIONS
|
|
.Bl -tag -width Ds
|
|
.It Fl l Ar num
|
|
Preallocate
|
|
.Ar num
|
|
bytes.
|
|
.It Fl o Ar num
|
|
Offset allocation by
|
|
.Ar num
|
|
bytes.
|
|
.El
|
|
.Sh SEE ALSO
|
|
.Xr fallocate 2
|