From b4692d07ee9f0249ce2f57b549d3ce6e6b5570f3 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 23 Oct 2014 14:37:02 +0200 Subject: [PATCH] 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. --- modules.d/90mdraid/parse-md.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules.d/90mdraid/parse-md.sh b/modules.d/90mdraid/parse-md.sh index 98f9e9f68..7a3e87ab7 100755 --- a/modules.d/90mdraid/parse-md.sh +++ b/modules.d/90mdraid/parse-md.sh @@ -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' -- 2.47.3