mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 05:55:27 +01:00
newfs_msdos: fix inaccurate comments.
The fields from deMTime and deMDate in the DOS directory entry are actually the last-modified time/date. According to some online documentation these are the only timestamps available in FAT12/FAT16. MFC after: 3 days
This commit is contained in:
parent
1f7c9f2bc8
commit
a0161728bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255339
@ -139,8 +139,8 @@ struct de {
|
||||
u_int8_t deName[11]; /* name and extension */
|
||||
u_int8_t deAttributes; /* attributes */
|
||||
u_int8_t rsvd[10]; /* reserved */
|
||||
u_int8_t deMTime[2]; /* creation time */
|
||||
u_int8_t deMDate[2]; /* creation date */
|
||||
u_int8_t deMTime[2]; /* last-modified time */
|
||||
u_int8_t deMDate[2]; /* last-modified date */
|
||||
u_int8_t deStartCluster[2]; /* starting cluster */
|
||||
u_int8_t deFileSize[4]; /* size */
|
||||
} __packed;
|
||||
|
Loading…
Reference in New Issue
Block a user