From owner-freebsd-geom@FreeBSD.ORG Sun Apr 10 07:19:45 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 B22F1106564A; Sun, 10 Apr 2011 07:19:45 +0000 (UTC) (envelope-from uncle@devio.us) Received: from wolfman.devio.us (devious-1-pt.tunnel.tserv12.mia1.ipv6.he.net [IPv6:2001:470:4:2a5::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8D6AE8FC08; Sun, 10 Apr 2011 07:19:45 +0000 (UTC) Received: by wolfman.devio.us (Postfix, from userid 3773) id 024641A90DB; Sun, 10 Apr 2011 03:19:45 -0400 (EDT) Date: Sun, 10 Apr 2011 03:19:44 -0400 From: Nick Ulen To: Pawel Jakub Dawidek Message-ID: <20110410071944.GA29223@wolfman.devio.us> References: <20110409082516.GA25384@wolfman.devio.us> <20110409192507.GB2330@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110409192507.GB2330@garage.freebsd.pl> User-Agent: Mutt/1.5.20 (2009-06-14) 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: Sun, 10 Apr 2011 07:19:45 -0000 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.