bin/119141: tar does not compress whole dirs in FreeBSD 6.3RC1 as it does in 6.2

Volker Theile votdev at gmx.de
Sat Dec 29 12:10:02 PST 2007


>Number:         119141
>Category:       bin
>Synopsis:       tar does not compress whole dirs in FreeBSD 6.3RC1 as it does in 6.2
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 29 20:10:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Volker Theile
>Release:        FreeBSD6.3RC1
>Organization:
FreeNAS
>Environment:
>Description:
Compressing a whole directory creates different archives on FreeBSD 6.3RC1 and 6.2. On 6.3 a directory called '.' is created in the archive which contains the dirrctory structure i wanted to be compressed originally.

FreeBSD6.2# tar -c -v -f - -C /usr/share/zoneinfo/ . | gzip -cv > /tmp/zoneinfo.tgz
a .
a Africa
a America
a Antarctica
a Arctic
a Asia
..
a Africa/Harare
a Africa/Ceuta
 85.7%

FreeBSD6.3# tar -c -v -f - -C /usr/share/zoneinfo/ . | gzip -cv > /tmp/zoneinfo.tgz
a ./.
a ./Africa
a ./America
a ./Antarctica
a ./Arctic
a ./Asia
..
a ./Africa/Harare
a ./Africa/Ceuta
 85.7%

>How-To-Repeat:
Execute the following command:

tar -c -v -f - -C /usr/share/zoneinfo/ . | gzip -cv > /tmp/zoneinfo.tgz

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list