[Freemint-list] dosfsck which marks filesystem clean?

Alan Hourihane alanh at fairlite.co.uk
Mon Jun 5 12:59:43 MSD 2017


On 05/06/17 09:36, Miro Kropáček wrote:
>
> On 5 June 2017 at 18:21, Vincent Rivière <vincent.riviere at freesbee.fr
> <mailto:vincent.riviere at freesbee.fr>> wrote:
>
>     It is quite unfair to set the dirty flag as soon as a filesystem
>     is mounted.
>
>
> I guess someone familiar with OS architecture could answer this --
> there must be a reason for it, every Unix-like OS does it this way. So
> either it's because the additional "meta data" (number of mounts, last
> mount time) or something else. And then this mechanism is "backported"
> to FAT because of consistency (there's no last mount time etc in FAT).

I guess you can't rely on the xfs_xdd.c code to guarantee when a
filesystem driver writes to disk, so you'd end up patching the
filesystem driver all over the place. I don't think that's manageable.

Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.atariforge.org/pipermail/freemint-list/attachments/20170605/62291601/attachment.html 


More information about the Freemint-list mailing list