Date: Sun, 31 Jan 1999 16:10:48 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Str|mberg cc: DJGPP-WORKERS Subject: Re: stat on FAT32 (was: Re: FAT32 (xstat.c)) In-Reply-To: <199901311250.NAA08768@father.ludd.luth.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com On Sun, 31 Jan 1999, Martin Str|mberg wrote: > According to Eli Zaretskii: > > Which brings up a related question: what does `stat' return for the > > inode numbers on FAT32 volume in plain DOS mode? Under Windows it > > obviously invents the inode, but I suspect it does funny things in > > plain DOS, since it doesn't expect the cluster to be a 32-bit number. > > It seems to work fine. (In my test case it set st_ino to 24936.) Yes, but is that the correct cluster number? Can you use some low-level disk utility (in plain DOS) to verify? I suspect that 24936 is only the low 16 bits of the cluster number (unless in your case the high bits were accidentally zero).