From owner-freebsd-current@FreeBSD.ORG Wed Feb 22 15:35:32 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55F1416A420 for ; Wed, 22 Feb 2006 15:35:32 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C29943D45 for ; Wed, 22 Feb 2006 15:35:31 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from virusscan.mail (amavis2.rz.uni-wuerzburg.de [132.187.3.47]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 650DB140332 for ; Wed, 22 Feb 2006 16:35:30 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 573B55C11 for ; Wed, 22 Feb 2006 16:35:30 +0100 (CET) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 2DEB1140332 for ; Wed, 22 Feb 2006 16:35:30 +0100 (CET) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id k1MFZT3n072903 for ; Wed, 22 Feb 2006 16:35:29 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.4/8.13.4) with ESMTP id k1MFZTkb060146 for ; Wed, 22 Feb 2006 16:35:29 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id k1MFZTBS003667 for ; Wed, 22 Feb 2006 16:35:29 +0100 (CET) (envelope-from q@galgenberg.net) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id k1MFZTmQ003666 for freebsd-current@freebsd.org; Wed, 22 Feb 2006 16:35:29 +0100 (CET) (envelope-from q@galgenberg.net) Date: Wed, 22 Feb 2006 16:35:29 +0100 From: Ulrich Spoerlein To: freebsd-current@freebsd.org Message-ID: <20060222153529.GB1124@galgenberg.net> Mail-Followup-To: freebsd-current@freebsd.org References: <00c101c636d3$938823d0$0201000a@JACK> <20060221181419.GC2996@galgenberg.net> <20060221220727.GA8554@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Bn2rw/3z4jIqBvZU" Content-Disposition: inline In-Reply-To: <20060221220727.GA8554@garage.freebsd.pl> X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Subject: Re: partition for GELI disk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 15:35:32 -0000 --Bn2rw/3z4jIqBvZU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Pawel Jakub Dawidek wrote: > On Tue, Feb 21, 2006 at 07:14:19PM +0100, Ulrich Spoerlein wrote: > +> The problem is known (at least) to me. The last '*' will expand to the > +> complete remaining size of the disk, not taking the offset '16' for > +> partition 'a' into account. So either change the offset of 'a' to '0' > +> (why is there such an offset anyway?) or calculate it by hand. >=20 > It is very, _very_ important. Those 16 secotors is where bsdlabel(8) > store its metadata. If you put 0 there, be ready to lose your > partitions. >=20 > Swap skips first 16 sectors, so it won't touch it. UFS skips first 16 > sectors, so you are safe here as well, but those are evil hacks. > If you configure something else on first partition which starts at > offset 0 (eg. encrypted partition) you are in big troubles. Thanks for that explanation. So does bsdlabel take this offset into account for the '*'? This never worked for me ... Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --Bn2rw/3z4jIqBvZU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD/ITB524iJyD+6d0RAtqxAJ0cXzNvNcz1qH7aMJTmQVQ16TqZ+wCePfbR BZfvFc+1B8SPFC4dFknCmu4= =yq/D -----END PGP SIGNATURE----- --Bn2rw/3z4jIqBvZU--