www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/05/09:02:12

To: eliz AT is DOT elta DOT co DOT il
Subject: Re: New stat() and fstat() for DJGPP
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Mon, 05 Sep 94 13:42:48 +0200
From: Fulvio Corno <corno AT athena DOT polito DOT it>

>>   3. I don't know how to obtain time fields for root directories,
>>      so they are set to the beginning of the DOS times (1-Jan-80).
>>      Suggestions, anyone?

MS-DOS uses as the creation date of a disk the timestamp of the
volume label entry. (CHKDSK reports "Volume XXX created mm-dd-yyyy
hh:mm"). Perhaps the same date could be given to the disk's root
directory.

	Fulvio

*=====================================================================*
| Fulvio Corno                                                        |
| Dip. Automatica e Informatica      Tel: +39 11 564 7067             |
| Politecnico di Torino              Fax: +39 11 564 7099             |
| C.so Duca degli Abruzzi 24         E-mail: Fulvio DOT Corno AT polito DOT it   |
| I-10129 TORINO (Italy)                                              |
*=====================================================================*

- Raw text -


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