On Tue, Aug 18, 2009 at 02:07:20PM +0200, Karel Zak wrote: > 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@xxxxxxxxxx> > Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> > Signed-off-by: Karel Zak <kzak@xxxxxxxxxx> > --- > AUTHORS | 1 + > configure.ac | 3 + > sys-utils/.gitignore | 1 + > sys-utils/Makefile.am | 5 ++ > sys-utils/fallocate.1 | 51 ++++++++++++++ > sys-utils/fallocate.c | 173 +++++++++++++++++++++++++++++++++++++++++++++++++ > 6 files changed, 234 insertions(+), 0 deletions(-) > create mode 100644 sys-utils/fallocate.1 > create mode 100644 sys-utils/fallocate.c The fallocate(1) utility has been merged into the master branch. Karel -- Karel Zak <kzak@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html