]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Import volume info here too (noticed by wtogami with root-on-crypt-lv)
authorJeremy Katz <katzj@redhat.com>
Mon, 19 Jan 2009 18:57:09 +0000 (13:57 -0500)
committerJeremy Katz <katzj@redhat.com>
Thu, 22 Jan 2009 21:14:18 +0000 (16:14 -0500)
rules.d/63-luks.rules

index 4c95c5d04d934120f6db238b5ea9c1a8ede70051..5d8297b77f084275ce5ac14e3dfa8f8debd14a6d 100644 (file)
@@ -7,6 +7,7 @@
 SUBSYSTEM!="block", GOTO="luks_end"
 ACTION!="add|change", GOTO="luks_end"
 
+KERNEL!="sr*", IMPORT{program}="vol_id --export $tempnode"
 ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="/bin/plymouth ask-for-password --command '/sbin/cryptsetup luksOpen $env{DEVNAME} luks-$env{ID_FS_UUID}"