Rodolphe Rocca wrote:
Outside of my system crash context, it came to my mind today that the fact the VDB repository is not updated (almost) atomically could not be only an issue in the context of a system crash.
The VDB is the least of my worries in that regard. The whole ebuild install process is not atomic - so you could end up with half of one version of a package and half of another. I'm not aware of any filesystems for linux that support atomic file operations like this, however, so for now we're stuck.
Linux in general could benefit from transactional filesystem support. There is no technical reason why when you install a package that the whole thing couldn't change atomically. I'm not even sure it has to have a big performance penalty - with copy-on-write filesystems all you need to do is switchover which copy you're using atomically.
_______________________________________________ paludis-user mailing list [email protected] http://lists.pioto.org/mailman/listinfo/paludis-user
