[lvm-devel][PATCH] Udev integration: udev rules - another approach

Peter Rajnoha prajnoha at redhat.com
Thu Apr 23 18:29:29 UTC 2009


If there's anybody who would like to test these rules with
updated patches applied, then you should uncomment this line
in 13-lvm.rules:

ACTION=="change", IMPORT{program}="/sbin/dmsetup lvmsplit $env{DM_NAME} --nameprefixes --noheadings --rows"

(the patch for dmsetup's "lvmsplit" command is on the list:
 [PATCH 5/5] Udev integration: add lvmsplit command for dmsetup)

...and delete this line:

ACTION=="change", TEST!="dm", IMPORT{program}="/sbin/dmsetup info $env{DM_NAME} -c --nameprefixes --noheadings --rows -o vg_name,lv_name,lv_layer"

Peter




More information about the lvm-devel mailing list