summaryrefslogtreecommitdiffstats
path: root/udev-early-md.rules
diff options
context:
space:
mode:
Diffstat (limited to 'udev-early-md.rules')
-rw-r--r--udev-early-md.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev-early-md.rules b/udev-early-md.rules
index 176ad61..e010dab 100644
--- a/udev-early-md.rules
+++ b/udev-early-md.rules
@@ -16,7 +16,7 @@ ENV{ID_FS_TYPE}=="linux_raid_member", GOTO="md_end"
# do something with this device if it determines that it should own it.
# That allows us to program in whatever smarts are needed into mdadm,
# but at the expense of running mdadm on every blk device add|change event :-(
-IMPORT{program}="/sbin/mdadm -I --new-device $tempnode"
+IMPORT{program}="/sbin/mdadm -IYg $tempnode"
ENV{MD_OWNED}!="?*", GOTO="md_end"
# We owned the device, so have udev reset the database info in case we
# changed it