[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] [patch v3] Bug / question in tar
From: |
Gene Heskett |
Subject: |
Re: [Bug-tar] [patch v3] Bug / question in tar |
Date: |
Sat, 29 Mar 2014 16:51:52 -0400 |
On Saturday 29 March 2014 16:49:10 Tim Kientzle did opine:
> 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
Thats a breakage killer too Tim. I can think of at least one very mature
backup program that does that just to get the estimate so it can diddle the
schedule to try and even out the amount of tape used per backup session.
Amanda TBE.
Cheers, Gene
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
- Re: [Bug-tar] [patch v3] Bug / question in tar, (continued)
- 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, 2014/03/29
- Re: [Bug-tar] [patch v3] Bug / question in tar,
Gene Heskett <=
- 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
- Re: [Bug-tar] [patch v3] Bug / question in tar, Sergey Poznyakoff, 2014/03/27