]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fallocate: improve --dig-holes
authorKarel Zak <kzak@redhat.com>
Mon, 17 Feb 2014 09:55:56 +0000 (10:55 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Feb 2014 10:13:54 +0000 (11:13 +0100)
commitd6cecc3fbab62e5ccd850a41273b6ced24bb29d2
treed17640838ae98386d6ccd16799d8f388858bbef3
parent782c290c5c1dd74f28c21ccd93a3b83445143dcf
fallocate: improve --dig-holes

 * don't use --length to specify hole size, always use stat.st_blksize

 * use --offset and --length to specify offset within the file (like
   another fallocate operations)

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/fallocate.1
sys-utils/fallocate.c