6 root
="$(echo $root | sed 's,/,\\x2f,g')"
7 root
="block:/dev/disk/by-label/${root#LABEL=}"
12 root
="$(echo $root | tr "[:upper
:]" "[:lower
:]")"
13 root
="block:/dev/disk/by-uuid/${root#UUID=}"
15 block
:PARTUUID
=*|PARTUUID
=*)
17 root
="${root#PARTUUID=}"
18 root
="$(echo $root | tr "[:upper
:]" "[:lower
:]")"
19 root
="block:/dev/disk/by-partuuid/${root}"
21 block
:PARTLABEL
=*|PARTLABEL
=*)
23 root
="block:/dev/disk/by-partlabel/${root#PARTLABEL=}"
30 [ "${root%%:*}" = "block" ] && wait_for_dev
"${root#block:}"