diff options
author | Harald Hoyer <harald@redhat.com> | 2013-07-05 15:31:06 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-07-05 15:32:38 +0200 |
commit | 1e057b352a5859799be9774ac572e4b3254e5901 (patch) | |
tree | 6635cf50e9fb1e16565fd3f79a281d577b455a16 /modules.d/99base | |
parent | 431b86c8e970aab7136baa862a839f59d415f844 (diff) | |
download | dracut-1e057b352a5859799be9774ac572e4b3254e5901.tar.gz dracut-1e057b352a5859799be9774ac572e4b3254e5901.tar.bz2 dracut-1e057b352a5859799be9774ac572e4b3254e5901.zip |
add PARTLABEL and PARTUUID
Diffstat (limited to 'modules.d/99base')
-rwxr-xr-x | modules.d/99base/dracut-lib.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh index 1a2cc112..089d3364 100755 --- a/modules.d/99base/dracut-lib.sh +++ b/modules.d/99base/dracut-lib.sh @@ -572,12 +572,15 @@ nfsroot_to_var() { # TOOD: symlinks udevmatch() { case "$1" in - UUID=????????-????-????-????-????????????|LABEL=*) + UUID=????????-????-????-????-????????????|LABEL=*|PARTLABEL=*|PARTUUID=????????-????-????-????-????????????) printf 'ENV{ID_FS_%s}=="%s"' "${1%%=*}" "${1#*=}" ;; UUID=*) printf 'ENV{ID_FS_UUID}=="%s*"' "${1#*=}" ;; + PARTUUID=*) + printf 'ENV{ID_FS_PARTUUID}=="%s*"' "${1#*=}" + ;; /dev/?*) printf -- 'KERNEL=="%s"' "${1#/dev/}" ;; *) return 255 ;; esac |