bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] ENOSPC when writing a long filename/link name with multivol op


From: Shivaram U
Subject: [Bug-tar] ENOSPC when writing a long filename/link name with multivol option passed
Date: Sat, 9 Sep 2006 12:36:51 +0530

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




reply via email to

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