[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] [patch v3] Bug / question in tar
From: |
Tim Kientzle |
Subject: |
Re: [Bug-tar] [patch v3] Bug / question in tar |
Date: |
Sat, 29 Mar 2014 13:28:23 -0700 |
On Mar 29, 2014, at 1:00 PM, Paul Eggert <address@hidden> wrote:
> Tim Kientzle wrote:
>> As long as it still reads the input files.
>
> There is no need to read input files when the input data is not used for
> anything. People who want to fool tar into actually reading the files can
> pipe its output to another program that discards it.
I'm curious. If someone types the following command:
tar cf /dev/null some files
What do you think they expect to happen?
I have heard of people using "tar cf /dev/null /mnt/cdrom" to test whether the
files on a CD-ROM were readable. If tar "optimizes" by not reading the files,
that could lead a person relying on this behavior to erroneously believe the
CD-ROM had no errors.
If you really believe that sending output to /dev/null should not do anything,
make it a fatal error so people won't rely on it.
Tim
- Re: [Bug-tar] [patch v3] Bug / question in tar, (continued)
- Re: [Bug-tar] [patch v3] Bug / question in tar, Eric Blake, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Karl Berry, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Paul Eggert, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Karl Berry, 2014/03/20
- Re: [Bug-tar] [patch v3] Bug / question in tar, Karl Berry, 2014/03/25
- Re: [Bug-tar] [patch v3] Bug / question in tar, Pavel Raiskup, 2014/03/26
- Re: [Bug-tar] [patch v3] Bug / question in tar, Joerg Schilling, 2014/03/26
- Re: [Bug-tar] [patch v3] Bug / question in tar, Paul Eggert, 2014/03/26
- Re: [Bug-tar] [patch v3] Bug / question in tar, Tim Kientzle, 2014/03/29
- Re: [Bug-tar] [patch v3] Bug / question in tar, Paul Eggert, 2014/03/29
- Re: [Bug-tar] [patch v3] Bug / question in tar,
Tim Kientzle <=
- Re: [Bug-tar] [patch v3] Bug / question in tar, Gene Heskett, 2014/03/29
- Re: [Bug-tar] [patch v3] Bug / question in tar, Paul Eggert, 2014/03/29
- Re: [Bug-tar] [patch v3] Bug / question in tar, Eric Blake, 2014/03/29
- Re: [Bug-tar] [patch v3] Bug / question in tar, Nathan Stratton Treadway, 2014/03/30
- Re: [Bug-tar] [patch v3] Bug / question in tar, Joerg Schilling, 2014/03/30
- Re: [Bug-tar] [patch v3] Bug / question in tar, Paul Eggert, 2014/03/30
- Re: [Bug-tar] [patch v3] Bug / question in tar, Joerg Schilling, 2014/03/31
- Re: [Bug-tar] [patch v3] Bug / question in tar, Nathan Stratton Treadway, 2014/03/29
- Re: [Bug-tar] [patch v3] Bug / question in tar, Joerg Schilling, 2014/03/30
- Re: [Bug-tar] [patch v3] Bug / question in tar, Karl Berry, 2014/03/27