> On Aug 1, 2025, at 5:54 AM, Eric Auer via Freedos-devel > <freedos-devel@lists.sourceforge.net> wrote: > > > Hi Jerome, > >> the 0.42-WIP version of DOSLFN provided by Jason Hood will hopefully resolve >> the filesystem corruption bug that was discussed earlier on the mailing list. > > How does it do that? I had assumed that there was a kernel problem, > but it also is plausible that DOSLFN manipulates directors cluster > and sector data directly, because the kernel would not do LFN itself, > so the corruption was some sort of caching or buffers conflict? So > is the fix cache-related, kernel-related, or DOSLFN-itself-related? > > Eric
All good questions. I have not examined the bug itself or the fix provided in DOSLFN. Therefore, I do not have an exact answer. But, others have looked at fix and I can tell you this… Apparently, the fix was to have DOSLFN perform a "drive reset". While the corruption problem no longer seems to appear, I do not know if this actually “fixed” the problem itself. Or, if it just makes an underlying problem (maybe in the kernel) not occur. While I think it is very imported that this fix prevents filesystem from getting corrupted, I agree with you that further investigation should be made to ensure that there is not a serious bug elsewhere that this fix is covering over. It is possible that others who have looked at this problem in more detail could elaborate more. _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel