From owner-freebsd-geom@FreeBSD.ORG Sat Sep 16 10:46:23 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 831E416A40F for ; Sat, 16 Sep 2006 10:46:23 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D7D443D45 for ; Sat, 16 Sep 2006 10:46:22 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id ED9F7487F5; Sat, 16 Sep 2006 12:46:20 +0200 (CEST) Received: from localhost (dle44.neoplus.adsl.tpnet.pl [83.24.34.44]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 36EDE4569A; Sat, 16 Sep 2006 12:46:15 +0200 (CEST) Date: Sat, 16 Sep 2006 12:45:56 +0200 From: Pawel Jakub Dawidek To: Matthias Lederhofer Message-ID: <20060916104556.GD2874@garage.freebsd.pl> References: <20060910173643.GA22815@moooo.ath.cx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GpGaEY17fSl8rd50" Content-Disposition: inline In-Reply-To: <20060910173643.GA22815@moooo.ath.cx> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: [PATCH] geli: command to set the boot flag 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, 16 Sep 2006 10:46:23 -0000 --GpGaEY17fSl8rd50 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 10, 2006 at 07:36:43PM +0200, Matthias Lederhofer wrote: > I did not find any way to set the boot flag other than init. Here is > a patch adding a new command setboot which shows the current value > when only a provider is passed or sets it to the value specified on > the command line. >=20 > Probably this should have another name and/or another way to pass the > parameters, I can also change this if someone tells me how this should > be done. I implemented functionality you asked for under 'configure' subcommand to be consistent with other GEOM classes. It allows to both set and remove the BOOT flag and it works for attached and detached providers. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --GpGaEY17fSl8rd50 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFC9XkForvXbEpPzQRApoeAJ45Qq1wlZRGfK8VM/MLSBNjANHR5QCdECwz J0XwurRIoSKYcGkKR7l36rE= =AoZS -----END PGP SIGNATURE----- --GpGaEY17fSl8rd50--