Re: os.stat('')[stat.ST_INO] on Windows

2005-03-03 Thread "Martin v. Löwis"
Tim Roberts wrote: 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. That is going to change. At my university, students learn what an MFT record is and how it is struct

Re: os.stat('')[stat.ST_INO] on Windows

2005-03-02 Thread Tim Roberts
"Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > >Tim Roberts wrote: >>>Are inodes supported on Windows NTFS, FAT, FAT32? >> >> No. Inodes are strictly a Unix filesystem concept. > >I disagree. NTFS MFT records are so similar to inodes >that their numbers could well be used in st_ino (except >that

Re: os.stat('')[stat.ST_INO] on Windows

2005-03-01 Thread "Martin v. Löwis"
Tim Roberts wrote: Are inodes supported on Windows NTFS, FAT, FAT32? No. Inodes are strictly a Unix filesystem concept. 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

Re: os.stat('')[stat.ST_INO] on Windows

2005-03-01 Thread Tim Roberts
Patrick Useldinger <[EMAIL PROTECTED]> wrote: > >What does the above yield on Windows? 0. >Are inodes supported on Windows NTFS, FAT, FAT32? No. Inodes are strictly a Unix filesystem concept. -- - Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailm

Re: os.stat('')[stat.ST_INO] on Windows

2005-02-27 Thread "Martin v. Löwis"
[EMAIL PROTECTED] wrote: > 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. That doesn't really h

Re: os.stat('')[stat.ST_INO] on Windows

2005-02-27 Thread jepler
On Sun, Feb 27, 2005 at 10:16:34PM +0100, Patrick Useldinger wrote: > 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 quic

os.stat('')[stat.ST_INO] on Windows

2005-02-27 Thread Patrick Useldinger
What does the above yield on Windows? Are inodes supported on Windows NTFS, FAT, FAT32? -- http://mail.python.org/mailman/listinfo/python-list