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

Nick Ulen uncle at wolfman.devio.us
Sun Apr 10 07:19:45 UTC 2011


On Sat, Apr 09, 2011 at 09:25:07PM +0200, Pawel Jakub Dawidek wrote:
> 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


Now all work fine.Thanks.

Regards.
Nick.


More information about the freebsd-geom mailing list