LWN.net Logo

3 out of 4?

3 out of 4?

Posted Mar 20, 2009 5:02 UTC (Fri) by k8to (subscriber, #15413)
In reply to: 3 out of 4? by man_ls
Parent article: Better than POSIX?

I'm personally in agreement.

The applications are expecting behavior POSIX does not provide.
The applications should stop expecting this.

It's fine to use a pattern that doesn't request the data be on disk, but you should write the app to deal with the lack of the data being on disk.

This is what I've done many times, in my own software authoring.


(Log in to post comments)

Congratulations

Posted Mar 20, 2009 11:52 UTC (Fri) by man_ls (subscriber, #15091) [Link]

I am sure you also run your Bash console in POSIX mode, never use ls with long options, and only use cp with the four-and-a-half POSIX options. Congratulations. The rest of the world is not so spartan.

I hope I don't have to use your software that fsync()s after every file operation. Mistaking durability with atomicity can have dire consequences both for durability and for atomicity.

Besides, you are not a lurker and this is not email.

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