Date: Wed, 1 Nov 2000 12:55:30 -0800 (PST) From: Matt Dillon <dillon@earth.backplane.com> To: Warner Losh <imp@village.org> Cc: Randell Jesup <rjesup@wgate.com>, obrien@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: Like to commit my diskprep Message-ID: <200011012055.eA1KtUO31302@earth.backplane.com> References: <ybuk8anigob.fsf@jesup.eng.tvol.net.jesup.eng.tvol.net> <200011011753.eA1HrCV29435@earth.backplane.com> <ybuy9z3iom7.fsf@jesup.eng.tvol.net.jesup.eng.tvol.net> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
: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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011012055.eA1KtUO31302>