Message-Id: <200007081230.PAA30642@alpha.netvision.net.il> Date: Sat, 08 Jul 2000 15:31:52 +0200 To: john Latala X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b From: "Eli Zaretskii" CC: djgpp AT delorie DOT com In-reply-to: (message from john Latala on Sat, 8 Jul 2000 06:10:01 -0400 (EDT)) Subject: Re: Other ways to get the time stamp of a file References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sat, 8 Jul 2000 06:10:01 -0400 (EDT) > From: john Latala > > > How do I go about getting the time stamp of a file on disk other than > > using `stat'? > > Read the contents of the directory information right out of the directory > 'file' from the harddisk. This is only possible by accessing the disk on the sector (i.e. BIOS) level, since DOS/Windows don't let you to open() a directory. Direct disk access of the kind that is needed for implementing your suggestion will tremendously slow down a program, to suc a degree that the whole issue of avoiding `stat' is null and void.