Comment 10 for bug 41624

Revision history for this message
Colin Watson (cjwatson) wrote :

I would suggest teaching parted_server (in partman-base) about a new command to tell whether the fs on a given partition is dirty, and making use of that in partman-basicfilesystems where it decides whether to automount things.

As far as os-prober goes, there was discussion about this recently upstream in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417407; there was a suggestion here to "protect" block devices by using 'blockdev --setro', which ought to convince the kernel not to do anything at all to the contents of the block device for the duration. I think this ought to require resurrecting the port we used to have of blockdev to busybox, rather than creating a new blockdev-udeb.