[dm-devel] Make device-mapper udev rules more friendly to udev

Xinwei Hu hxinwei at gmail.com
Wed Jun 23 12:45:12 UTC 2010


Hi all,

  I found there're changes to udev/10-dm.rules.in, which tries to add
support for uevent triggered outside of libdevmapper.
Think this is a great step.

  In current situation, if an admin calls "echo add >
/sys/block/dm-N/uevent", the symlinks in /dev/mapper and
/dev/$VGNAME/ will still be removed anyway. I'm not sure who many
realistic application will trigger the 'add' event in users
space out side the libdevmapper. But I think it'll be more friendly to udev ;)

  The attached 10-dm.rules.in is an attempt on this direction. It
basically import{db} if the events are not trigged by libdevmapper.

  Please comment.

  Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm-10-dm.rules.in.diff
Type: application/octet-stream
Size: 720 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20100623/9b13f011/attachment.obj>


More information about the dm-devel mailing list