[Bug 11588] better handling for --preallocate with --sparse

samba-bugs at samba.org samba-bugs at samba.org
Sun Oct 9 13:53:57 UTC 2016


https://bugzilla.samba.org/show_bug.cgi?id=11588

--- Comment #21 from Andrey Gursky <andrey.gursky at e-mail.ua> ---
(In reply to Andrey Gursky from comment #20)

Sorry, it is indeed preallocated. Other still holds: hole-punch doesn't fail
because the file already consists of only hole. Such file I would call a
preallocated data-sparse. In opposite to the usual not preallocated
space-sparse with truncate:

$ truncate -s 1048576 test-sparse

$ ls -ls test-sparse
0 -rw-r--r-- 1 andrey andrey 1048576 Oct  9 15:34 test-sparse

$ /usr/sbin/filefrag -v test-sparse
Filesystem type is: ef53
File size of test-sparse is 1048576 (256 blocks of 4096 bytes)
test-sparse: 0 extents found

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list