]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Teach geli how to load keyfiles before root file system is mounted.
authorpjd <pjd@FreeBSD.org>
Sat, 11 Feb 2006 13:08:24 +0000 (13:08 +0000)
committerpjd <pjd@FreeBSD.org>
Sat, 11 Feb 2006 13:08:24 +0000 (13:08 +0000)
commit204d3235abbdaff64833facda5a3ce556c45d2d1
tree5e6fc1a9a04ac492facdb186f4753ce4ad6071e0
parent8f76601c2594cd9bef0e7f8439fcfc9f4487911d
Teach geli how to load keyfiles before root file system is mounted.
An example entries for loader.conf to make it possible:

geli_da0_keyfile0_load="YES"
geli_da0_keyfile0_type="da0:geli_keyfile0"
geli_da0_keyfile0_name="/boot/keys/da0.key0"
geli_da0_keyfile1_load="YES"
geli_da0_keyfile1_type="da0:geli_keyfile1"
geli_da0_keyfile1_name="/boot/keys/da0.key1"
geli_da0_keyfile2_load="YES"
geli_da0_keyfile2_type="da0:geli_keyfile2"
geli_da0_keyfile2_name="/boot/keys/da0.key2"

geli_da1s3a_keyfile0_load="YES"
geli_da1s3a_keyfile0_type="da1s3a:geli_keyfile0"
geli_da1s3a_keyfile0_name="/boot/keys/da1s3a.key"

Thanks for jhb and kan who showed me the right direction.

MFC after: 3 days
sys/geom/eli/g_eli.c