waveform80 / nobodd

A simple TFTP boot server for the Raspberry Pi
https://nobodd.readthedocs.io/
Other
1 stars 0 forks source link

Add dirty & damaged props #2

Open waveform80 opened 6 months ago

waveform80 commented 6 months ago

FatFileSystem should have read/write properties for dirty and damaged (and dirty should be set+cleared by FAT ops)

waveform80 commented 2 months ago

Properties added in b68be2d8b7b1cbda82ef99ad624015cfc2cbed7f but they're unused as yet (should probably make a mutex-ish context handler which serializes writes and handles setting & clearing the dirty bit while holding the lock).