[Top][All Lists]

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

Re: [Bug-tar] tar -tf quits before EOF?

From: Joerg Schilling
Subject: Re: [Bug-tar] tar -tf quits before EOF?
Date: Sun, 08 Aug 2010 22:49:10 +0200
User-agent: nail 11.22 3/20/05

Tim Kientzle <address@hidden> wrote:

> Historically, there's been a lot of variation in how readers
> handle the end-of-archive:
> * Some implementations stop reading when they see the
>    first all-zero record.  If this happens at the end of a block,
>    they won't read the next block.
> * Some readers will try to drain pipes to avoid sending
>    SIGPIPE to the writer.
> * Some readers aggressively read ahead to try to maintain
>    high throughput.

There are other omplementations that stop reading when they see a filename that 
has a single null byte at the first position.

> I'm curious about why you think so.  I've always thought
> that draining the pipe was the more useful behavior.

If that was mentioned in a standard, I would agreee as this seems to be the only
way to grant that reading from a real tape device would always hit the EOF mark 
on the tape.


 EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden                (uni)  
       address@hidden (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

reply via email to

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