Ask HN: Why Don’t Filesystems and OS’s Provide Filesystem Transactions?


W3Schools
Ask HN: Why Don’t Filesystems and OS’s Provide Filesystem Transactions?
by ghoward on Hacker News.
This is inspired by [1]. Quite frankly, I don’t know why filesystems don’t provide these things. I have read that Windows has a transactional API, but they’ve actually deprecated it! [2] They say it’s because few programs use it. I mean, sure, that might be true, but I bet it’s really important for those programs that do use it. Bonus question: why does Windows hide its equivalent of `openat()` in the NT API? [3] Rust code seems to claim its fundamental to the NT kernel [4], so why is it not exposed? [1]: https://ift.tt/wpjmGIN [2]: https://ift.tt/riKH5fG [3]: https://ift.tt/jnqM3bQ [4]: https://ift.tt/RISc8du


W3Schools

Leave a comment