You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
379 B
14 lines
379 B
![]()
16 years ago
|
# hacky rules to try to try unlocking dm-crypt devs
|
||
|
#
|
||
|
# Copyright 2008, Red Hat, Inc.
|
||
|
# Jeremy Katz <katzj@redhat.com>
|
||
|
|
||
|
|
||
|
SUBSYSTEM!="block", GOTO="luks_end"
|
||
|
ACTION!="add|change", GOTO="luks_end"
|
||
|
|
||
![]()
16 years ago
|
KERNEL!="sr*", IMPORT{program}="vol_id --export $tempnode"
|
||
![]()
16 years ago
|
ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="/bin/sh -c 'echo $env{DEVNAME} luks-$env{ID_FS_UUID} >>/cryptroot'"
|
||
![]()
16 years ago
|
|
||
|
LABEL="luks_end"
|