Date: Wed, 22 Feb 2006 16:35:29 +0100 From: Ulrich Spoerlein <q@galgenberg.net> To: freebsd-current@freebsd.org Subject: Re: partition for GELI disk Message-ID: <20060222153529.GB1124@galgenberg.net> In-Reply-To: <20060221220727.GA8554@garage.freebsd.pl> References: <00c101c636d3$938823d0$0201000a@JACK> <20060221181419.GC2996@galgenberg.net> <20060221220727.GA8554@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060222153529.GB1124>