From owner-freebsd-geom@FreeBSD.ORG Wed Oct 19 16:19: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 6013B106566B for ; Wed, 19 Oct 2011 16:19:19 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 0DAA28FC18 for ; Wed, 19 Oct 2011 16:19:18 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 0F5FF700; Wed, 19 Oct 2011 18:19:15 +0200 (CEST) Date: Wed, 19 Oct 2011 18:18:34 +0200 From: Pawel Jakub Dawidek To: Garrett Cooper Message-ID: <20111019161833.GB1982@garage.freebsd.pl> References: <924643A0-0798-4FAC-8F82-4AFBC56DC8D7@gmail.com> <7EC93C28-6405-443F-92C6-0291F8D88995@gmail.com> <20111017132945.GG1679@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wq9mPyueHGvFACwf" Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Xin LI , freebsd-geom@freebsd.org Subject: Re: GELI devices produced with 9.0+ fail when mounted on 8.2, etc? 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: Wed, 19 Oct 2011 16:19:19 -0000 --wq9mPyueHGvFACwf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 19, 2011 at 08:30:39AM -0700, Garrett Cooper wrote: > Patch added for the first suggestion here: > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D161807 . I'll see if I can > get around to the other two sometime before the end of the week. I'm already working on this. Unfortunately 'upgrade' subcommand will be much harder to implement, because in some cases we would need to rewrite the data for the entire provider. I decided not to add upgrade. It also doesn't buy us much. Even after upgrade you cannot switch to new algorithms or to multi-key encryption, etc. Instead I added 'version' subcommand: geli version [-l] geli version [prov ...] Examples: # geli version kernel: 6 userland: 5 # geli version ada0 gpt/secret ada0: 5 gpt/secret: 3 # geli version -l FreeBSD version: highest supported GELI version: FreeBSD 6.0: 0 FreeBSD 6.1: 0 FreeBSD 6.2: 3 FreeBSD 6.3: 3 FreeBSD 6.4: 3 FreeBSD 7.0: 3 FreeBSD 7.1: 3 FreeBSD 7.2: 3 FreeBSD 7.3: 3 FreeBSD 7.4: 3 FreeBSD 8.0: 3 FreeBSD 8.1: 3 FreeBSD 8.2: 5 FreeBSD 9.0: 6 --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --wq9mPyueHGvFACwf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk6e+FgACgkQForvXbEpPzQbAgCg2C/XewpHbiDQ89crCDL2130Q kIwAn3jrv+bUKTreiOfO4sfBY8lG2lK8 =4HhG -----END PGP SIGNATURE----- --wq9mPyueHGvFACwf--