On Sunday 14 January 2007 02:27, David Härdeman wrote: > udev currently receives uevents from the kernel when a new > device-mapper device mapping is created and creates a /dev/dm-* node. > libdevmapper knows when devices are created/removed and creates the > /dev/mapper/* nodes. > > However, the kernel will not (AFAIK) send uevents when device-mapper > mappings are renamed, changed or removed, so udev is not able to remove > the devices when appropriate.
According to Marco d'Itri the /dev/md-* node _is_ removed if the command 'cryptsetup remove $NAME"' is used to bring down a crypto volume (I've not tested this myself). But looking at do_stop() in /lib/cryptsetup/cryptdisks.functions, the only thing cryptsetup seems to do on shutdown is: 'losetup -d /dev/loop$minor' So, maybe this is a cryptsetup issue after all?
pgpf6ZF1kQvUl.pgp
Description: PGP signature