P
Patrick Useldinger
What does the above yield on Windows? Are inodes supported on Windows
NTFS, FAT, FAT32?
NTFS, FAT, FAT32?
What does the above yield on Windows? Are inodes supported on Windows
NTFS, FAT, FAT32?
> Refer to the operating system documentation (msdn.microsoft.com?). os.stat is
mostly a wrapper around whatever the OS provides. A quick glance at Python
source code shows that maybe _stati64() or _wistat64() is the actual function
used on windows.
Patrick Useldinger said:What does the above yield on Windows?
0.
Are inodes supported on Windows NTFS, FAT, FAT32?
Tim said:No. Inodes are strictly a Unix filesystem concept.
Martin v. Löwis said:I disagree. NTFS MFT records are so similar to inodes
that their numbers could well be used in st_ino (except
that they are 64-bit quantities, whereas st_ino
typically has only 32 bits).
Tim said:Hmmm, yes, but nearly 100% of Unix geeks have seen an inode number in their
programming adventures, whereas I'll bet not 1 in 10,000 Windows hardliners
has ever seen an MFT entry.
There are things you can do with an inode number, but there's nothing you
can do with an MFT ordinal.
So, I'll grant that my answer was too specific, but I still believe the
answer to the original question is "no".
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.