Re:In-Memory Filesystems in Rust
by silon42 on Monday August 25, 2025 @03:26AM
(#45011236)
I'd almost never want do to fsync in normal code (unless implementing something transactional)... but I'd want an explicit close almost always (or drop should panic/abort).
[ Parent
| on HN ]
I use transactional file operations when for instance when I write tools that change their own human-readable configuration files. If something is important enough to write to disk, then it's probably important enough that you can't tolerate torn writes.