Wishful thinking
Wishful thinking
Posted Mar 17, 2009 0:31 UTC (Tue) by bojan (subscriber, #14302)In reply to: Wishful thinking by nix
Parent article: Garrett: ext4, application expectations and power management
> Ten years ago, would you have been arguing that programs that relied on symlinks were broken because POSIX did not require them?
If the programs correctly tested to see if the support is there and then refused to work if symlinks were not there, there would be nothing wrong with them. So, by all means, if you write an application that tests that the underlying FS has ordered renames and refuses to work otherwise with sloppy open()/write()/close()/rename() sequence, that's perfectly OK. You just need to write even _more_ code to do this then if you just used fsync(). Up to you.
