Pierre Frenkiel <pierre.frenk...@gmail.com> writes: > On Tue, 24 Jan 2012, Pierre Frenkiel wrote: > > Remains the question "how /etc/modprobe.d/options was corrupted" > May-be after a power failure, but I thought that this couldn't > happen with a ext4 file system. >
The default/normal configuration of ext4 journals only metadata. This means that file system integrity is guaranteed but individual file content can be corrupted by a power failure or other hard crash. To update files that must be correct, one can write a new version, sync, and then use mv to replace the old with the new version. Since mv is a metadata operation, it is guaranteed to either have happened or not after crash recovery. The journal_data option provides full protection, but I suspect it is not a practical solution for normal usage. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87d3a7erxq....@aptiva.optonline.net