Zeke-OS / zeke

A POSIX-like OS for ARM processors.
Other
86 stars 9 forks source link

fatfs dir entry offset 0x12 access date/owner ID #166

Closed OlliV closed 4 years ago

OlliV commented 4 years ago

Currently DIR_LstAccDate is only updated when a file has been modified and f_sync() is called. This resembles the default behaviour of DOS that only writes it ever if ACCDATE is set in CONFIG.SYS.

This could be configurable, we could allow doing either owner ID or access data in this field. Since atimes are not much liked nowadays storing the owner ID in this field would be perfect.