bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] --sparse is broken on filesystems where small files may have z


From: Andrew J. Schorr
Subject: [Bug-tar] --sparse is broken on filesystems where small files may have zero blocks
Date: Mon, 28 Oct 2013 17:17:39 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

I have a Netapp file server, and their filesystem is able to contain
small files of up to 64 bytes in the inode without allocating any 
blocks.

This causes --sparse to corrupt files silently due to this patch:

http://git.savannah.gnu.org/cgit/tar.git/commit/?id=a9895fd20c957ce184091672f1623a5bedd82407

Please see this bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=1024095

It is unfortunately not the case that an st_blocks value of zero
means that the file is empty on all filesystems.  I don't know if there
are any other exceptions besides Netapp.

Regards,
Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]