2015-09-12 20:52:33 +00:00
|
|
|
.Dd September 12, 2015
|
2015-02-02 17:34:26 +00:00
|
|
|
.Dt FALLOCATE 1
|
|
|
|
.Os ubase
|
|
|
|
.Sh NAME
|
|
|
|
.Nm fallocate
|
2015-09-12 20:52:33 +00:00
|
|
|
.Nd preallocate files
|
2015-02-02 17:34:26 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2015-09-10 22:27:29 +00:00
|
|
|
.Op Fl o Ar num
|
|
|
|
.Fl l Ar num
|
|
|
|
.Ar file ...
|
2015-02-02 17:34:26 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-09-12 20:52:33 +00:00
|
|
|
if necessary creates and preallocates each
|
2015-09-10 22:27:29 +00:00
|
|
|
.Ar file
|
2015-09-12 20:52:33 +00:00
|
|
|
without truncation.
|
2015-09-10 22:27:29 +00:00
|
|
|
.sp
|
|
|
|
Given the filesystem supports
|
|
|
|
.Xr fallocate 2 ,
|
2015-09-12 20:52:33 +00:00
|
|
|
it is a very fast method of preallocation.
|
2015-02-02 17:34:26 +00:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
2015-09-10 22:27:29 +00:00
|
|
|
.It Fl l Ar num
|
2015-09-12 20:52:33 +00:00
|
|
|
Preallocate
|
2015-09-10 22:27:29 +00:00
|
|
|
.Ar num
|
|
|
|
bytes.
|
|
|
|
.It Fl o Ar num
|
|
|
|
Offset allocation by
|
|
|
|
.Ar num
|
|
|
|
bytes.
|
2015-02-02 17:34:26 +00:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr fallocate 2
|