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

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

Re: "tar cf x.tar /" creates bad tar file


From: Paul Jarc
Subject: Re: "tar cf x.tar /" creates bad tar file
Date: Thu, 17 Jul 2003 12:18:57 -0400
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Pozsar Balazs <address@hidden> wrote:
> a directory with the name "" (empty string) is stored in the
> archive.
...
> I do think, that this should be fixed at the creating stage, namely the
> '/' root directory should never be stored.

I think it would be better to simply call it ".".  Then for
extraction, it can be handled like any other directory that happens to
already exist.

Also, it might be good to make a similar change for extraction, to
handle old archives that were created with empty names.


paul




reply via email to

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