In article <n8d98m$bng$2...@serpens.de>, Michael van Elst <mlel...@serpens.de> wrote: >bou...@antioche.eu.org (Manuel Bouyer) writes: > >>> The driver gets detached in config_detach_all() during a >>> regular reboot unless you use the RB_NOSYNC flag. Unfortunately >>> this also prevents unmounting and syncing the filesystems. > >>RB_DUMP should probably be handled as RB_NOSYNC then > >Maybe. It's probably safer to either exclude the dump device >or to re-attach it. Re-attaching seems to be cleaner but is >probably difficult to do in a crash situation.
It is not easy to go from dev_t -> device_t to exclude... christos