Hi,

How does GNU tar handle a ENOSPC/EOM when writing a file with a long
filename ? For example if the link path is 3K long, the tape block
size is 512, and we have written 1k of the link path to tape.
a.  Does GNU tar know beforehand that the tar header for the linkpath
wont fit entirely in the current tape, move on to the next tape,
before starting to write the header
or
b. Writes the header get the ENOSPC error, rewrites the header on the next tape
or
c. Gets the ENOSPC error, continues from the bytes left in the link
path on the next tape.

My understanding is that a tar header (basic/extended) cannot be split
across multiple tapes.- rules out case (c).

Best Regards,
Shivram U


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

Reply via email to