3 ms·
> Without that, there are no way to ensure durable writes and you might get data loss or data corruption. The best the OS can do is to trust the device that th
by rbanffy 5y ago
> Without that, there are no way to ensure durable writes and you might get data loss or data corruption.
The best the OS can do is to trust the device that the data was, indeed, written to durable storage. Unfortunately, many devices lie about that. If you do a `F_FULLSYNC`, you can say you did your best, but the data is out of your hands now.
- cryptonector 5y agoYou can always reset the device and read back the data to confirm. Sure, that will be slow, but there is a way!
- rbanffy 5y agoNot sure. They can still cheat. You'd need to power them down, then back up again. If it's a soft reset, they can just read it from RAM.
- cryptonector 5y agoTrue.