dmraid/61-dmraid-imsm.rules: add nowatch option for udev

udev rereads partitions, if watch is set for disks
master
Harald Hoyer 2015-11-26 17:46:03 +01:00
parent 6ed1d9fd07
commit 5d8d0ac814
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ ENV{ID_FS_TYPE}=="ddf_raid_member", ENV{rd_NO_MDDDF}!="?*", GOTO="dm_end"

ENV{rd_NO_DM}=="?*", GOTO="dm_end"

OPTIONS:="nowatch"

ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="dm_end"

PROGRAM=="/bin/sh -c 'for i in $sys/$devpath/holders/dm-[0-9]*; do [ -e $$i ] && exit 0; done; exit 1;' ", \