From owner-freebsd-arch Wed Nov 1 12:55:37 2000 Delivered-To: freebsd-arch@freebsd.org Received: from earth.backplane.com (placeholder-dcat-1076843399.broadbandoffice.net [64.47.83.135]) by hub.freebsd.org (Postfix) with ESMTP id 7F53137B4C5; Wed, 1 Nov 2000 12:55:35 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id eA1KtUO31302; Wed, 1 Nov 2000 12:55:30 -0800 (PST) (envelope-from dillon) Date: Wed, 1 Nov 2000 12:55:30 -0800 (PST) From: Matt Dillon Message-Id: <200011012055.eA1KtUO31302@earth.backplane.com> To: Warner Losh Cc: Randell Jesup , obrien@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: Like to commit my diskprep References: <200011011753.eA1HrCV29435@earth.backplane.com> <20001031132945.B28476@dragon.nuxi.com> <200010311747.KAA80353@harmony.village.org> <200011010341.eA13fCV42009@billy-club.village.org> <200011011735.KAA54300@harmony.village.org> <200011011812.LAA97417@harmony.village.org> <200011012038.NAA98734@harmony.village.org> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :What concerns me about the patch is that it uses the whole disk slice :rather than the slice of the disk requested. fdisk -I makes a slice :that is, typically, 63 secotors smaller than whole disk. What also Huh? It uses the whole-disk partition OUT OF THE SLICE structure, i.e. for da0s1 (as an example), not out of the structure for da0. so the 63 sectors is already accounted for. I think you are confusing your structures. Use fdisk to create two freebsd slices rather then just one. Then disklabel them: disklabel -w -r da0s1 auto disklabel -w -r da0s2 auto You will note that disklabel produces the correct partition sizes. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message