Date: Sun, 10 Apr 2011 03:19:44 -0400 From: Nick Ulen <uncle@wolfman.devio.us> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: freebsd-geom@freebsd.org Subject: Re: syntax for geli with using device's label(glabel) Message-ID: <20110410071944.GA29223@wolfman.devio.us> In-Reply-To: <20110409192507.GB2330@garage.freebsd.pl> References: <20110409082516.GA25384@wolfman.devio.us> <20110409192507.GB2330@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110410071944.GA29223>