mdraid: also accept ID_FS_UUID for rd.md.uuid

As blkid also reports MD_UUID as ID_FS_UUID, although in slightly
different format, accept it also.
master
Harald Hoyer 2014-10-23 14:37:02 +02:00
parent 05065741f0
commit b4692d07ee
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ else
printf 'IMPORT{program}="/sbin/mdadm --examine --export $tempnode"\n'
for uuid in $MD_UUID; do
printf 'ENV{MD_UUID}=="%s", GOTO="md_uuid_ok"\n' $uuid
printf 'ENV{ID_FS_UUID}=="%s", GOTO="md_uuid_ok"\n' $uuid
done;
printf 'GOTO="md_end"\n'
printf 'LABEL="md_uuid_ok"\n'