Hello all,

Here is an issue I have in one of my software ... I hope someone can help me ;-)

My software is writing a stream of data on a tape drive in Tar format, but as I don't know, before the end of transfer, the resulting file size, the file size I
am writing in the tar header is a fake one (the largest possible).
So when I am retriving the tar file from tape, tar returns a warning like « unexpected EOF » and the file retrieved has not the same size than the original one (and ends
with a lot of 0x00).

I would like to find a solution to retrieve exactly the same file than the original one (in size) and keep compatibility with Gnu Tar format. I was expecting that it was possible to put a header at the end of the file, but it doen't seem to be the case.

Any idea ???

Thanks, and best regards, Arnaud.


_______________________________________________
Help-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-tar

Reply via email to