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
pgpm59FYCbxLm.pgp
Description: PGP signature
