write behind cache

treker25

New Member
how does write behind cache effect the eraser.
winxp sp3
 

Joel

Active Member
Eraser uses the FILE_FLAG_WRITE_THROUGH and the FILE_FLAG_NO_BUFFERING flag which disables the use of the cache. In v6 however I was doing some investigation and am trying to do the same for .NET code (which is difficult, because managed memory cannot be written to unmanaged memory easily, and the FILE_FLAG_NO_BUFFERING flag requires certain unmanaged memory conditions to be true before working.)

Joel
 

Overwriter

Active Member
Hi treker25 :)

Thank you for your question, it looks like you have got Joel thinking about a problem that had been missed.

Joel, I see you are already onto it on the Trac ! :wink:
 

Joel

Active Member
Yeah I was re-reading Gutmann's paper Thursday and it kinda struck me. It didn't earlier because .NET simply had no FILE_FLAG_NO_BUFFERING flag.

Joel
 
Top