Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2011 21:25:07 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Nick Ulen <uncle@wolfman.devio.us>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: syntax for geli with using device's label(glabel)
Message-ID:  <20110409192507.GB2330@garage.freebsd.pl>
In-Reply-To: <20110409082516.GA25384@wolfman.devio.us>
References:  <20110409082516.GA25384@wolfman.devio.us>

next in thread | previous in thread | raw e-mail | index | archive | help

--qlTNgmc+xy1dBmNv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=
=20
> boot with using key and device's label.
>=20
> glabel list da0s2
> Geom name: da0s2
> Providers:
> 1. Name: label/tank
>=20
> I got "syntax error",when I used strings as below in loader.conf:
>=20
> geli_label/tank_keyfile0_load=3D"YES"
> geli_label/tank_keyfile0_type=3D"label/tank:geli_keyfile0"
> geli_label/tank_keyfile0_name=3D"/boot/keys/label_tank.key"
>=20
> Which is correct syntax for loader.conf?

Variable name should be meaningless, it should work with:

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

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com

--qlTNgmc+xy1dBmNv
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk2gspIACgkQForvXbEpPzT7JQCeLJZVl2nWQX/ftAlO+YP3AtAG
ZHYAoMlS0SpEwpTxKJY6w5mfNs7woahG
=idGw
-----END PGP SIGNATURE-----

--qlTNgmc+xy1dBmNv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110409192507.GB2330>