Hi,

At Fri, 23 Sep 2005 11:16:48 +0900,
Sean O'Halpin wrote in [ruby-talk:157221]:
> > 1. There is, at least on NTFS, a unique file identifier that is
> > somehow available. Don't ask me how right now, but I should be able to
> > find out in a few days (work-related stuff).
> 
> The file's unique ID is assigned by the system and is stored in the
> nFileIndexHigh and nFileIndexLow fields of BY_HANDLE_FILE_INFORMATION
> (API call
> is GetFileInformationByHandle())
> (source: MSDN)

Thank you for the info.  I've forgotton it.  It will be used in
the case it is available.

> > 2. Files cannot be hardlinked on any Windows filesystem. Directories
> > can be hardlinked on NTFS5 systems.
> >
> Erm.. they can - use CreateHardLink() - but there is no shell support for them
> (so that users won't delete real files by accident I guess).

Mswin32 and mingw32 version rubys support it.

> Directories ~cannot~ be hard-linked (but apparently you can create
> 'junction points' - a
> kind of soft link - though I've never used them myself).

Right.  It wouldn't be identical to the original.

-- 
Nobu Nakada