mirror of
git://git.suckless.org/ubase
synced 2026-01-26 05:37:53 +00:00
1) Simplify the manpage. Just refer to fallocate(2) and stop trying to list supported file systems. This can change and everbody with common sense can bring up the relevant manpages of a given operating system himself. Use the num-semantics. 2) Use estrtonum() instead of estrtol(). 3) Allow multiple arguments.
34 lines
511 B
Groff
34 lines
511 B
Groff
.Dd September 11, 2015
|
|
.Dt FALLOCATE 1
|
|
.Os ubase
|
|
.Sh NAME
|
|
.Nm fallocate
|
|
.Nd reallocate files
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl o Ar num
|
|
.Fl l Ar num
|
|
.Ar file ...
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
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.
|
|
.Sh OPTIONS
|
|
.Bl -tag -width Ds
|
|
.It Fl l Ar num
|
|
Allocate
|
|
.Ar num
|
|
bytes.
|
|
.It Fl o Ar num
|
|
Offset allocation by
|
|
.Ar num
|
|
bytes.
|
|
.El
|
|
.Sh SEE ALSO
|
|
.Xr fallocate 2
|