delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/01/12/14:04:19

Message-ID: <3E21A51E.485C88ED@yahoo.com>
Date: Sun, 12 Jan 2003 12:25:50 -0500
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: fstat, fd_props and inventing inodes [PATCH]
References: <E18XkXR-0001ZC-00 AT phekda DOT freeserve DOT co DOT uk>
Reply-To: djgpp-workers AT delorie DOT com

Richard Dawe wrote:
> 
> Below is a revision of Andrew's patch to make fstat generate
> the same inode for a file irrespective of which file name
> was used to open the file or how many times fstat has been called.
> (Calling fstat multiple times on file descriptor gives different
> inode values each time on Windows '98 SE.)

I am wondering why it is necessary to go to all this trouble. 
Doesn't the directory entry for any FAT system file include a
pointer to the first cluster on that drive, and isn't this unique
and independant of naming tricks?  The addition of 5 bits for
drive identification should make it unique over the file system. 
Am I missing something?

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019