freebsd-dev/sys/geom/eli
Pawel Jakub Dawidek 9af2131b78 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
2006-02-11 13:08:24 +00:00
..
g_eli_crypto.c Remove trailing spaces. 2006-02-01 12:06:01 +00:00
g_eli_ctl.c Remove trailing spaces. 2006-02-01 12:06:01 +00:00
g_eli_key.c Remove trailing spaces. 2006-02-01 12:06:01 +00:00
g_eli.c Teach geli how to load keyfiles before root file system is mounted. 2006-02-11 13:08:24 +00:00
g_eli.h Remove trailing spaces. 2006-02-01 12:06:01 +00:00
pkcs5v2.c Remove trailing spaces. 2006-02-01 12:06:01 +00:00
pkcs5v2.h Remove trailing spaces. 2006-02-01 12:06:01 +00:00