GNU bug report logs - #19616
dist tarball contains hardlinks

Previous Next

Package: automake;

Reported by: Dimitrios Apostolou <jimis <at> gmx.net>

Date: Fri, 16 Jan 2015 15:44:02 UTC

Severity: normal

Full log


Message #26 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dimitrios Apostolou <jimis <at> gmx.net>
To: Joerg Schilling <Joerg.Schilling <at> fokus.fraunhofer.de>
Cc: eggert <at> cs.ucla.edu, bug-automake <at> gnu.org, bug-tar <at> gnu.org
Subject: Re: [Bug-tar] dist tarball contains hardlinks
Date: Fri, 23 Jan 2015 15:45:57 +0100 (CET)
On Mon, 19 Jan 2015, Joerg Schilling wrote:
> Dimitrios Apostolou <jimis <at> gmx.net> wrote:
>
>> On Fri, 16 Jan 2015, Paul Eggert wrote:
>>
>>> Dimitrios Apostolou wrote:
>>>>  Why is such behaviour desirable?
>>>
>>> It's more logical, since it causes tar to behave as if the symlink were not
>>> there, and the pointed-to file was there instead.
>>
>> But when the tarball is extracted, two files with same inode are created,
>> which is kind of unexpected behaviour - at least for me - after creating
>
> The problem is not the tarball itself but the fact that someone called
>
> 	tar ch ...
>
> This is not the right way to go for collecting files for a distribution.
>
> In former times, I distributed symlinks with my distro tarballs but now I
> include shell scripts that create the symlinks if needed and on platforms that
> do not support symlinks, these shell scripts automatically try to create
> hardlinks.
>
> Maybe you should contact the respobsible person for your distro tarball.

Thank you Joerg. If so then it is an issue that must be fixed in automake, 
which is the reason I cross-posted to both projects, because I am not sure 
which one should be changed!

Dimitris





This bug report was last modified 10 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.