This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: B20: mv deletes files on error (NT)




Bernard Dautrevaux wrote:
> If I correctly understand this thread it seems the problem is that under
> cygwin Foo and foo have different inode numbers :-<; why not base the
> inode number for a file to its first sector (or cluster) number? (I know
> this is simple in FAT, its in the directory entry, and it should be
> quite readily available under NTFS also).

It's already solved. Windows administers an i-node like number for every
file, which is accessible via `GetFileInformationByHandle()'. This number
is used in the recent snapshots, to generate the i-node number.

Regards,
Corinna


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com