LWN.net Logo

Better than POSIX?

Better than POSIX?

Posted Mar 17, 2009 23:46 UTC (Tue) by clugstj (subscriber, #4020)
Parent article: Better than POSIX?

All that is actually needed is for the metadata updates to be kept in sync with the data updates. Then the write-new-file-rename-over-old-file trick will reliably leave you with the new or the old file again. Getting data/metadata out of sync seems to me to be a bad idea even without the possibility of crashing.

It may not be required by POSIX, but it is a reasonable way for a filesystem to behave.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds