delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/20/04:03:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.1.0.14.2.20010519203742.029be698@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Sat, 19 May 2001 20:54:39 -0700
To: Konstantin Isakov <ikm AT online DOT ru>,
"Gerrit P. Haase" <gerrit DOT haase AT t-online DOT de>
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: hardlinks on ntfs/fat
Cc: cygwin AT cygwin DOT com
In-Reply-To: <12915982639.20010508154812@online.ru>
References: <3AF66168 DOT 8032 DOT 23CAB828 AT localhost>
<3AF66168 DOT 8032 DOT 23CAB828 AT localhost>
Mime-Version: 1.0

Konstantin,

I think the "inode number" reported by "ls -i" is a better way of 
ascertaining if two directory entries reference the same file or not.

I am curious about why "ln" would copy a file if it gets EXDEV (if I 
remember that right -- Error: cross-device link). I certainly wouldn't want 
that to happen if I explicitly ask to link (not copy). Is that specified 
behavior for the Unix / Linux / POSIX way for the ln command? I see no 
mention of this behavior in the man page or the "ln --help" output.

Randall Schulz
Mountain View, CA USA


At 04:48 2001-05-08, Konstantin Isakov wrote:
>Monday, May 07, 2001, 10:48:40 AM, you wrote:
>
>GPH> Hi cygwinners,
>
>GPH> how is it exactly with hardlinks?
>
>GPH> I got a directory with some files (about 5000),
>GPH> and i made hardlinks to all of them in another directory.
>
>GPH> If i examine now with win-explorer, i got i the first dir
>GPH> about 17 MB and in the latter about 18 MB of files.
>
>GPH> Are they now twice at the disk or are they relly hardlinked?
>
>I think the most easiest way to find it out is to check drive's free space
>amount before and after hardlinking ;)
>
>--
>Konstantin Isakov


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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