Subject: Re: [need review] pax(1) fast list/extract on raw disk device
To: None <tech-userlevel@netbsd.org, tech-kern@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: tech-userlevel
Date: 02/10/2000 10:53:33
Ah - thanks. It all sounds fine to me :)
On Thu, 10 Feb 2000, ITOH Yasufumi wrote:
> The comment in ar_io.c::ar_fow() (the function should be named "ar_forw" :-)
> says lseek()ing tape (artyp == ISTAPE) is unsafe.
>
> "artyp == ISPIPE" is set when the lseek() in ar_io.c::ar_open() was failed
> and we cannot expect another lseek() succeeds.
>
> On other cases pax tries lseek(), and falls back to read() unless the
> archive is a reguar file.
David/absolute