On 09/28/2010 11:27 AM, Mark Morgan Lloyd wr

The bottom line is that when a system gets a powerfail signal it will unmount all filesystems and shut down. But the action of unmounting rewrites (something equivalent to) the superblock to reset the dirty flag, and that requires that power remains stable.

Yes. This is why unmounting might make the system even less safe. If some data is not written back at all only those are bad. But it you unmount and thus rewrite the superblock immediately before power down the card might trash more and more important data.

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to