bug-gnu-utils
[Top][All Lists]
Advanced

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

Tar 1.13 bugs


From: Dave Cinege
Subject: Tar 1.13 bugs
Date: Wed, 07 Mar 2001 23:20:13 -0500

I've been dealing with some problems with tar 1.13 for awhile now. I finally
sat down and tested things 


#1 The exit status for tar for 'minor' errors has changed from 1.12.
This kills scripts like crazy and doesn't seem to offer a way to check 
an OK exist status. (Only a perfect one.) Not completely a bug, but a large
incompatibility with previous versions.

#2 This is the biggie. All forms of exclude are hosed. They just do not glob
right and haven't since 1.12. If the file is implied for inclusion via a glob
it is included, even if it is explictly excluded by a glob.

This is really bad. Since I put 1.13 on my machines I've been trying to figure
out why I keep backing up several hundred MB of '/proc/' with each tape run.
(And /tmp/, /mnt/, etc, etc, etc)

Example:
Zen-Machine# [/tmp/test]
# ls -l proc
total 452
-rwxr-xr-x    1 root     root       461400 Mar  7 22:31 bash*
Zen-Machine# [/tmp/test]
# ../tar-1.12 cvf ../test.tar --exclude='proc/*' proc
proc/
Zen-Machine# [/tmp/test]
# ../tar-1.13 cvf ../test.tar --exclude='proc/*' proc
proc/
proc/bash

Exclude is broken.



reply via email to

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