File inode numbers in Cygwin

2021-08-08 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
Hi all, I have a question that might have been asked on here before, but I wasn't able to find it, so here it goes: In Cygwin, it seems like for the local native file system (NTFS), file inode numbers (struct stat::st_ino) get generated by hashing the file names, rather than them being tied to

RE: File inode numbers in Cygwin

2021-08-08 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
Replying to myself: > So the question: was there any reason that the native NTFS file IDs (which > are quite > reasonable) weren't used Sorry for posting my previous question, it looks like the inode numbers are actually NTFS file IDs for the files. They are reasonably looking when in hex, but