When shutting down, the operation of mv -f /tmp/XXX to /lib/udev-state/devices.tar.bz2 appears to be an atomic operation. Unfortunately when the power is gone just when the file was deleted but not yet rewritten, the whole system is corrupted in a way quite hard to find out. Would be better if the old devices.tar.bz2 was renamed instead, so when at booting time devices.tar.bz2 fails to unfold, you can use the backup.
Probably. Care to make a patch to the scripts to do this?
Created attachment 96781 [details, diff] udev-devicetarball_backup.patch Hi, would something like this be ok? Cheers Poly-C
i dont see how those changes solve anything
(In reply to comment #3) > i dont see how those changes solve anything Closing CANTFIX per maintainer request; the above patch doesn't fix anything as already noted in comment #3. Use /lib/udev/devices/ instead of the tarball thing if you really need devices that udev can't create on its own.