From owner-freebsd-geom@FreeBSD.ORG Sat Sep 16 10:47:45 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 3BDF616A602 for ; Sat, 16 Sep 2006 10:47:45 +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 95E5243D4C for ; Sat, 16 Sep 2006 10:47:44 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 5FD90487F5; Sat, 16 Sep 2006 12:47:43 +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 DAE0B4569A; Sat, 16 Sep 2006 12:47:38 +0200 (CEST) Date: Sat, 16 Sep 2006 12:47:20 +0200 From: Pawel Jakub Dawidek To: Matthias Lederhofer Message-ID: <20060916104720.GE2874@garage.freebsd.pl> References: <20060910173643.GA22815@moooo.ath.cx> <20060910174908.GA26715@moooo.ath.cx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VUDLurXRWRKrGuMn" Content-Disposition: inline In-Reply-To: <20060910174908.GA26715@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:47:45 -0000 --VUDLurXRWRKrGuMn Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 10, 2006 at 07:49:08PM +0200, Matthias Lederhofer wrote: > Matthias Lederhofer wrote: > > diff --git a/geom_eli.c b/geom_eli.c > This is for src/sbin/geam/class/eli. >=20 > And here is another patch for a comment I found while reading the > source, probably this was copied 'n' pasted. :) > --- > geom_eli.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) >=20 > diff --git a/geom_eli.c b/geom_eli.c > index f90e974..489e212 100644 > --- a/geom_eli.c > +++ b/geom_eli.c > @@ -1058,7 +1058,7 @@ eli_restore(struct gctl_req *req) > gctl_error(req, "MD5 hash mismatch: not a geli backup file?"); > goto out; > } > - /* Read metadata from the provider. */ > + /* Write metadata to the provider. */ > if (pwrite(provfd, sector, secsize, mediasize - secsize) !=3D > (ssize_t)secsize) { > gctl_error(req, "Cannot write metadata: %s.", strerror(errno)); Committed, thanks. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --VUDLurXRWRKrGuMn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFC9Y4ForvXbEpPzQRAvjXAJsGFdJtXVXso8hPiwQ5bs0YpkVh5QCeLdbv gyhFpm/KFsTXJCRIMAx4Id8= =LSDL -----END PGP SIGNATURE----- --VUDLurXRWRKrGuMn--