From owner-freebsd-geom@FreeBSD.ORG Sat Apr 9 19:25:19 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44A31106566C for ; Sat, 9 Apr 2011 19:25:19 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id E46768FC12 for ; Sat, 9 Apr 2011 19:25:18 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id BAB0045E93; Sat, 9 Apr 2011 21:25:17 +0200 (CEST) Received: from localhost (host-80-54-90-198.eimg.pl [80.54.90.198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id C73D145E5C; Sat, 9 Apr 2011 21:25:12 +0200 (CEST) Date: Sat, 9 Apr 2011 21:25:07 +0200 From: Pawel Jakub Dawidek To: Nick Ulen Message-ID: <20110409192507.GB2330@garage.freebsd.pl> References: <20110409082516.GA25384@wolfman.devio.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qlTNgmc+xy1dBmNv" Content-Disposition: inline In-Reply-To: <20110409082516.GA25384@wolfman.devio.us> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=4.5 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: syntax for geli with using device's label(glabel) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2011 19:25:19 -0000 --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--