[Monodevelop-devel] Atomic file write API
taktaktaktaktaktaktaktaktaktak at gmail.com
Mon Mar 16 14:46:02 EDT 2009
>> Shouldn't some of this be pushed down into the mono framework?
>> Obviously, stuff like restoring from backups is out-of-spec and must
>> be external, but shouldn't POSIX minutiae be handled by the System.IO
> How could it be fixed? AFAIK the truncate-on-overwrite exists on
> Windows (though not the need for fsync), which is one reason why
> Transactional NTFS was added.
Perhaps internally, a write-mode FileStream writes to a temp file,
then renames on close/dispose (maybe fsync on Flush() where
More information about the Monodevelop-devel-list