syntax for geli with using device's label(glabel)

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Apr 9 19:25:19 UTC 2011


On Sat, Apr 09, 2011 at 04:25:16AM -0400, Nick Ulen wrote:
> Greetings,
> The problem is that I can't configure provider which must be attached on 
> boot with using key and device's label.
> 
> glabel list da0s2
> Geom name: da0s2
> Providers:
> 1. Name: label/tank
> 
> I got "syntax error",when I used strings as below in loader.conf:
> 
> geli_label/tank_keyfile0_load="YES"
> geli_label/tank_keyfile0_type="label/tank:geli_keyfile0"
> geli_label/tank_keyfile0_name="/boot/keys/label_tank.key"
> 
> Which is correct syntax for loader.conf?

Variable name should be meaningless, it should work with:

geli_label_tank_keyfile0_load="YES"
geli_label_tank_keyfile0_type="label/tank:geli_keyfile0"
geli_label_tank_keyfile0_name="/boot/keys/label_tank.key"

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20110409/9db9d884/attachment-0001.pgp


More information about the freebsd-geom mailing list