diff options
author | Karel Zak | 2009-08-18 13:33:27 +0200 |
---|---|---|
committer | Karel Zak | 2009-09-22 15:26:18 +0200 |
commit | d46a54994e30da03385b82f64eaecffe5c170c92 (patch) | |
tree | 8e6b308066d1744e4801cae9186f44661f69100c /sys-utils/setsid.c | |
parent | mount: document changed semantics of tmpfs size option in mount.8 (diff) | |
download | kernel-qcow2-util-linux-d46a54994e30da03385b82f64eaecffe5c170c92.tar.gz kernel-qcow2-util-linux-d46a54994e30da03385b82f64eaecffe5c170c92.tar.xz kernel-qcow2-util-linux-d46a54994e30da03385b82f64eaecffe5c170c92.zip |
fallocate: new command
The fallocate(1) utility is used to preallocate blocks to a file.
This can be useful for virtual images, database files, testing, etc.
Normally we'd hope that various tools will start using preallocation
internally, but until then such a utility may be useful, and could be
scripted as well.
The original Eric's version is available at:
http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/2490
This version:
- checks for fallocate glibc function and kernel syscall
- does not provide a fallback and does not call posix_fallocate()
- adds long options
- uses err.h for errro messages
- adds NLS support
- cleanups man page
Co-Author: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/setsid.c')
0 files changed, 0 insertions, 0 deletions