delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/22/22:30:03

X-Spam-Check-By: sourceware.org
Message-ID: <45B5812C.7040605@byu.net>
Date: Mon, 22 Jan 2007 20:29:48 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Hard links in tar, not untaring as expected
References: <3D848382FB72E249812901444C6BDB1D0A653DB1 AT mail DOT timesys DOT com>
In-Reply-To: <3D848382FB72E249812901444C6BDB1D0A653DB1@mail.timesys.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Sally, Gene on 1/22/2007 11:50 AM:
> drwxr-xr-x UserName GroupName 0 2007-01-18 16:35:22 test/
> -rw-r--r-- UserName GroupName 9 2007-01-18 16:35:22 test/hardlink
> -rw-r--r-- UserName GroupName 0 2007-01-18 16:35:22 test/orig-file link
> to test/hardlink
> 
> 
> Obviously, there's something different, but I can't figure out what that
> is.  Is anyone aware of some subtle changes in the win API that could
> cause this problem?  Maybe there some permission settings that could
> cause this problem? 

Could it be that one of your systems uses a FAT32 drive, which does not
support hard links?  I couldn't reproduce your failure.

But speaking of hard links and tar, I find it annoying that setup.exe
won't even try to create hard links when a tar file requests them.  A good
example of this is the git-1.4.4.4-1.tar.gz2 package - it contains 55 hard
links to usr/bin/git.exe, but setup.exe unpacks it into 55 separate files,
rather than a single file, thus occupying 26 megabytes more hard drive
space than strictly necessary on NTFS.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
volunteer cygwin tar maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtYEs84KuGfSFAYARAiD/AKCETTHtlKJ7Rfx4Gg+33X8ssBlb0wCfdMia
zDil6dIF0YzH1DWwMO3SJQA=
=VmXD
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019