partition for GELI disk
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Feb 21 14:07:52 PST 2006
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.
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.
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.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060221/cd95ff18/attachment.bin
More information about the freebsd-current
mailing list