Comment 11 for bug 37435

Revision history for this message
Stewart Smith (stewart) wrote : Re: maintainer of /var/lib/dpkg/alternatives/ doesn't do updates safely

It is not a file system bug.

There is no gaurentee that the data hits disk without an explicit fsync (or clean shutdown).

Nowhere in POSIX does it specify that rename will sync data. That is what fsync is for.

(even with fsync, without additional checks, data is not gaurenteed to have hit disk... but that's another discussion.)