[Top][All Lists]

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

Re: [Bug-tar] [Fwd: Bug#543913: "tar tf" uses read() instead of lseek(),

From: Linda A. Walsh
Subject: Re: [Bug-tar] [Fwd: Bug#543913: "tar tf" uses read() instead of lseek(), making it slow]
Date: Fri, 28 Aug 2009 15:27:17 -0700
User-agent: Thunderbird (Windows/20090605)

Tim Kientzle wrote:
Lars Stoltenow wrote:
On Thu, Aug 27, 2009 at 06:29:04PM +0300, Sergey Poznyakoff wrote:
The --seek (-n) command line option instructs tar to use lseeks instead
of reads. Use it.
Then probably GNU tar should detect automatically if a file is seekable
or not.
This was discussed about two years ago:

 Yes, it was, and the final resolution, ...

    Subject: Re: [Bug-tar] GNU tar, star and BSD tar speed comparision

    On Tue, 2007-Oct-23, 03:32, Sergey Poznyakoff wrote:
    > Tim Kientzle ha escrit:
    > > Sergey Poznyakoff Tue, 23 Oct 2007 02:31:28 -0700 wrote:
    > > > When reading uncompressed tar archives stored in regular
    > > > files, bsdtar uses lseek() operations to skip over the
    > > > bodies of files.
    > As a side note, the similar feature in GNU tar is enabled using
    > seek option.  Is there a reason GNU tar doesn't enable this by
    > default for all regular files?
I forgot to implement it :) But I'll fix that soon. Regards, Sergey

 Not sure of exact circumstances, but should the user
have encountered the problem if he was using a fixed

reply via email to

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