From: bkis@nanaimo.island.net (Jonathan Thornburg)
Subject: Re: problem with GNU tar
Date: 1997/12/16 [thread overview]
Message-ID: <676npv$4uu$1@nanaimo.island.net> (raw)
In-Reply-To: 66kl8h$pr7$1@lyra.csx.cam.ac.uk
** This article is *NOT* an attempt to start a flame war. I "just"
** want to rebut (more accurately strongly disagree with) some comments
** Nick Maclaren recently posted here.
**
** If you post followups, please trim the Newsgroups: list. While
** the relative merits of different tar programs may be a worthy
** topic for further debate, I don't think it belongs in OS-specific
** newsgroups.
In article <66kl8h$pr7$1@lyra.csx.cam.ac.uk>,
Nick Maclaren <nmm1@cus.cam.ac.uk> wrote:
>Don't use GNU tar. The kindest description of that program is that
>it got cancerous featuritis some time ago, and should be put down.
Without getting into a blow-by-blow code review of GNU vs other tars, I'd
like to strongly disagree with Nick's advice. Nick is right insofar as
a lot of the GNU tar source code is ugly, really ugly. But it works,
and it works well. IMHO (and I think many knowledgable users would
share MHOs) GNU tar ranks at the top of the tars:
Nick may not need some of the fancier options, but some of us *do*; the
code is battle-tested; it runs on just about every Unix flavor in the known
universe (and even some non-Unix OSs); the documentation is light-years
ahead of that for any other tar I've seen; and if you're a serious user,
the support on the tar-forum and info-tar (I think that's the right name)
mailing lists is *superb*. ["support" as in bug fixes, workarounds, and
explanations, not to mention preleases of improved versions. I.e. all
the things commercial vendors charge mega$ for pale clones of.]
And oh yes... the price and availability are everything I could want,
and if RTFM still leaves me wondering about some subtlety of
how it works, I can RTFS.
In the 1991 LISA proceedings, Elizabeth Zwicky reported on a torture-test
of a number of different backup programs, including GNU tar 1.10, a half-
dozen or so other tar programs, and another half-dozen or so assorted
dump, pax, find|cpio, afio, and even a find2perl system. She created a
pathological file system containing
- a file with a large hole in it
- files with funny characters in their file names
- 1025 hard links to the same file
- 2911 hard links to different files
- symbolic links to long names
- symbolic links to names with funny characters in them
- a named pipe
- a device
- a file that becomes a directory in the middle of being backed up
(changed by a concurrently running process)
and other assorted nasties. She then turned all the backup programs
loose and watched how they behaved. Her paper's subtitle is (alas)
pretty self-explanatory: "Things You Ought to Know But Probably Would
Rather Not". Anyone seriously interested in backup software should
read the full paper, but for present purposes I'll just note that
GNU tar generally did better than most other tars, and the current
GNU tar (1.12, I believe) fixes most of the problems she found.
Reference:
Elizabeth D. Zwicky
"Torture-testing Backup and Archive Programs:
Things You Ought to Know But Probably Would Rather Not"
pp.181--189 in
USENIX Large Installation Systems Administration (LISA) V
conference proceedings, Sept 30 -- Oct 3, 1991,
San Diego, California, USA,
no editor or ISBN shown
--
-- Jonathan Thornburg <bkis@island.net> (personal E-mail)
U of British Columbia / Physics Dept / <thornbur@theory.physics.ubc.ca>
"The first strike in the American Colonies was in 1776 in Philadelphia,
when [...] carpenters demanded a 72-hour week." -- Anatole Beck
next prev parent reply other threads:[~1997-12-16 5:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-09 5:00 problem with GNU tar Steve Imber
1997-12-09 5:00 ` Paul Eggert
1997-12-11 5:00 ` Walter Harms
1997-12-11 5:00 ` Paul Eggert
1997-12-15 5:00 ` dkeisen
1997-12-09 5:00 ` Nick Maclaren
1997-12-10 5:00 ` Alexey Pushkin
1997-12-16 5:00 ` Jonathan Thornburg [this message]
1997-12-16 5:00 ` Nick Maclaren
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox