Reminder: Encrypted LV on unencrypted PV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reminder, please don't forget to add this to upstream git.

diff --git a/rules.d/63-luks.rules b/rules.d/63-luks.rules
index 4c95c5d..5d8297b 100644
--- a/rules.d/63-luks.rules
+++ b/rules.d/63-luks.rules
@@ -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}"


--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux