Package: util-linux
Version: 2.40.3-1
Severity: normal

Hi,

talking to the util-linux maintainer today motivated me to report this.
I don't know whether I'll find the time to write a patch for this but at
least I'd like to track it somewhere. Steps to reproduce:

    $ fallocate -l 1024 test.img
    $ fallocate --posix --insert-range --offset=0 --length=4096 test.img
    $ ls -l test.img
    -rw-r--r-- 1 root root 4096 Jan 12 16:57 test.img

The size of test.img should be 5120 bytes and not 4096. It works fine without
--posix. If --insert-range is not supposed to work with --posix, then maybe
that should be documented.

Thanks!

cheers, josch

Reply via email to