rsync creating 0-length files?

Wayne Davison wayned at
Wed Dec 1 00:44:13 GMT 2004

On Tue, Nov 30, 2004 at 04:13:18PM -0800, Dan Stromberg wrote:
> If a close were to fail, wouldn't that normally mean that you just
> wouldn't get the last block sync'd out to disk, rather than an entire
> multi-K or multi-M file would be 0 length?

If the disk is full (i.e. out of blocks, but not inodes) or if the user
is over quota, you'd typically get a 0-length file (but the program may
not get any errors until the close call, when the data gets flushed out
to disk).


More information about the rsync mailing list