From 555e6bc447139f530750e3e97a0d563c416aad89 Mon Sep 17 00:00:00 2001 From: sin Date: Sat, 12 Apr 2014 14:04:38 +0100 Subject: [PATCH] Add fallocate manpage --- fallocate.1 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 fallocate.1 diff --git a/fallocate.1 b/fallocate.1 new file mode 100644 index 0000000..d4c576b --- /dev/null +++ b/fallocate.1 @@ -0,0 +1,18 @@ +.TH FALLOCATE 1 ubase-VERSION +.SH NAME +\fBfallocate\fR - preallocate blocks to a file +.SH SYNOPSIS +\fBfallocate\fR [\fB-o\fI offset\fR] \fB-l\fR \fIlength file\fR +.SH DESCRIPTION +\fBfallocate\fR preallocates blocks to a file. Only certain filesystems +support the fallocate system call. This is a very fast operation to allocate +uninitialized blocks in a file without doing any IO. +As of the Linux Kernel v2.6.31, the fallocate system call is supported +by the btrfs, ext4, ocfs2, and xfs filesystems. +.SH OPTIONS +.TP +\fB-o\fR Specifies the beginning offset of the allocation, in bytes. +.TP +\fB-l\fR Specifies the length of the allocation, in bytes. +.SH SEE ALSO +fallocate(2)