This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: hardlinks on ntfs/fat
- To: Konstantin Isakov <ikm at online dot ru>, "Gerrit P. Haase" <gerrit dot haase at t-online dot de>
- Subject: Re: hardlinks on ntfs/fat
- From: Randall R Schulz <rrschulz at cris dot com>
- Date: Sat, 19 May 2001 20:54:39 -0700
- Cc: cygwin at cygwin dot com
- References: <3AF66168.8032.23CAB828@localhost><3AF66168.8032.23CAB828@localhost>
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