bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Tar short read


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] Tar short read
Date: Tue, 27 Sep 2011 00:48:19 +0300

Kevin Fox <address@hidden> ha escrit:

> Tar starts padding out the file
> with 0's up until the file stat size and returns a message like:
> NET.csv: File shrank by 45427965 bytes; padding with zeros

This means that a read returned 0 bytes, but not all file contents has
been read.  

> I believe in this case, tar should try to fill its remaining buffer
> space with another read

That's what it actually does, but hits EOF.  Are you sure it's not a bug
of the underlying filesystem?

Regards,
Sergey



reply via email to

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