From: Czarnowska, Anna Sent: Monday, July 05, 2010 11:43 AM To: Neil Brown Cc: linux-raid@xxxxxxxxxxxxxxx; Czarnowska, Anna; Hawrylewicz Czarnowski, Przemyslaw; Labun, Marcin; Neubauer, Wojciech; Williams, Dan J; Ciechanowski, Ed; dledford@xxxxxxxxxx Subject: [PATCH 29/33] update for early rules to support --grab From: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@xxxxxxxxx> Signed-off-by: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@xxxxxxxxx> --- udev-early-md.rules | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/udev-early-md.rules b/udev-early-md.rules index 176ad61..3433953 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 -I -g /dev/$tempnode" ENV{MD_OWNED}!="?*", GOTO="md_end" # We owned the device, so have udev reset the database info in case we # changed it -- 1.6.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html