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

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

