2015-09-10 22:27:29 +00:00
|
|
|
.Dd September 11, 2015
|
2015-02-02 17:34:26 +00:00
|
|
|
.Dt FALLOCATE 1
|
|
|
|
.Os ubase
|
|
|
|
.Sh NAME
|
|
|
|
.Nm fallocate
|
2015-09-10 22:27:29 +00:00
|
|
|
.Nd reallocate 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-10 22:27:29 +00:00
|
|
|
if necessary creates and reallocates each
|
|
|
|
.Ar file
|
|
|
|
resulting in expansion or truncation.
|
|
|
|
.sp
|
|
|
|
Given the filesystem supports
|
|
|
|
.Xr fallocate 2 ,
|
|
|
|
it is a very fast method of reallocation.
|
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
|
|
|
|
Allocate
|
|
|
|
.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
|