Accepting request 35699 from home:michal-m:branches:Base:System

Copy from home:michal-m:branches:Base:System/mdadm via accept of submit request 35699 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/35699
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=18
This commit is contained in:
Michal Marek 2010-03-24 16:43:18 +00:00 committed by Git OBS Bridge
parent 4aea6a09c6
commit b4b044b24c
2 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,7 @@ SUBSYSTEM!="block", GOTO="md_end"
ACTION!="add|change", GOTO="md_end"
# import data from a raid member and activate it
ENV{ID_FS_TYPE}=="linux_raid_member", PROGRAM="grep -qs '^AUTO -all' /etc/mdadm.conf", IMPORT{program}="/sbin/mdadm --examine --export $tempnode", RUN+="/sbin/mdadm --incremental $env{DEVNAME}"
ENV{ID_FS_TYPE}=="linux_raid_member", PROGRAM="/bin/grep -qs '^AUTO -all' /etc/mdadm.conf", IMPORT{program}="/sbin/mdadm --examine --export $tempnode", RUN+="/sbin/mdadm --incremental $env{DEVNAME}"
# import data from a raid set
KERNEL!="md*", GOTO="md_end"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 24 17:37:27 CET 2010 - mmarek@suse.cz
- 64-md-raid.rules: Use absolute path to grep, otherwise udev will
only search in /lib/udev (bnc#590832).
-------------------------------------------------------------------
Tue Mar 23 14:49:38 CET 2010 - mmarek@suse.cz