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

samba-bugs at samba.org samba-bugs at samba.org
Sun Oct 9 13:15:38 UTC 2016


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

>From what I see, it doesn't fail, since the file is not preallocated at all
with FALLOC_FL_KEEP_SIZE, but just a fully sparse file is created (consisting
of only one big hole):

$ ls -ls test-file
1024 -rwx------ 1 andrey andrey 0 Oct  9 14:47 test-file

$ /usr/sbin/filefrag -v test-file 
Filesystem type is: ef53
File size of test-file is 0 (0 blocks of 4096 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..     255:   14828800..  14829055:    256:            
test-file: 1 extent found

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

More information about the rsync mailing list