From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f72b0,f68bc93bda5b0c46 X-Google-Attributes: gidf72b0,public X-Google-Thread: fe1d2,f68bc93bda5b0c46 X-Google-Attributes: gidfe1d2,public X-Google-Thread: 1025b4,f68bc93bda5b0c46 X-Google-Attributes: gid1025b4,public X-Google-Thread: 1020c6,f68bc93bda5b0c46 X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,f68bc93bda5b0c46 X-Google-Attributes: gidfee84,public From: bkis@nanaimo.island.net (Jonathan Thornburg) Subject: Re: problem with GNU tar Date: 1997/12/16 Message-ID: <676npv$4uu$1@nanaimo.island.net>#1/1 X-Deja-AN: 298797655 References: <66khr9$3io$1@dove.qut.edu.au> <66kl8h$pr7$1@lyra.csx.cam.ac.uk> Followup-To: poster Summary: GNU tar doubleplusgood; Nick Maclaren's advice badthink ;=) Organization: UBC Physics (Relativity Theory) || BKIS Consulting Keywords: GNU,tar,remote dumps Newsgroups: comp.unix.osf.osf1,gnu.misc.discuss,comp.unix.misc,comp.unix.admin,comp.unix.sco.misc ** 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 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 (personal E-mail) U of British Columbia / Physics Dept / "The first strike in the American Colonies was in 1776 in Philadelphia, when [...] carpenters demanded a 72-hour week." -- Anatole Beck