News for hackers. Stuff that matters.
Re:In-Memory Filesystems in Rust by the8472 on Monday August 25, 2025 @05:30AM (#45011958)
> To be clear `File::drop()` does sync

It does not. BufWriter<File> flushes its userspace buffer (but doesn't fsync either). If you have a bare File then drop really just closes the file descriptor, that's it.

https://github.com/rust-lang/rust/blob/ee361e8fca1c30e13e7a3...

Re:In-Memory Filesystems in Rust by maxbond on Monday August 25, 2025 @09:11AM (#45013472)
My bad, thanks for the correction.