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:
Pedro F. Giffuni 2013-09-07 03:10:12 +00:00
parent 1f7c9f2bc8
commit a0161728bb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255339

View File

@ -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;