On Wed, Jan 01, 2025 at 03:15:25PM +0000, Nikolaus Rath wrote:
Julien Plissonneau Duquène <sre4e...@free.fr> writes:
Le 2024-12-30 21:38, Nikolaus Rath a écrit :
If a system crashed while dpkg was installing a package, then my
assumption has always been that it's possible that at least this package
is corrupted.

The issue here is that without the fsync there is a risk that such corruption
occurs even if the system crashes _after_ dpkg has finished (or finished
installing a package).

That is not my understanding of the issue. The proposal was to disable
fsync after individual files have been unpacked, i.e. multiple times per
package. Not about one final fsync just before dpkg exits.

You seem to be assuming that dpkg is only processing a single package at a time? Doing so would not be an efficiency gain, IMO.

Reply via email to