how to use labels in loader.conf file on 8.1 (syntax error)

Michal michal at nonspace.net
Wed Jul 21 16:13:54 UTC 2010


>So it looks to me that it simply doesn't like slashes. What is the proper 
>way of doing it?

My system was in unbootable state for a minute so I panicked instead of 
doing the thinking :)
Replacing slash symbol with underscore works fine. So, for future reference, 
it should look like that:

geom_label_load="YES"
geom_eli_load="YES"
geli_label_private_keyfile0_load="YES"
geli_label_private_keyfile0_type="label/private:geli_keyfile0"
geli_label_private_keyfile0_name="/boot/keys/private.key0"

Cheers, Michal


More information about the freebsd-geom mailing list