From owner-freebsd-current Fri Jul 21 1:58:23 2000 Delivered-To: freebsd-current@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id 5887F37B79F for ; Fri, 21 Jul 2000 01:58:18 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: (qmail 7565 invoked from network); 21 Jul 2000 08:58:03 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 21 Jul 2000 08:58:03 -0000 Date: Fri, 21 Jul 2000 18:58:05 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: John Baldwin Cc: Warner Losh , dwhite@resnet.uoregon.edu, freebsd-current@FreeBSD.ORG Subject: Re: No /boot/loader In-Reply-To: <200007210653.XAA42478@pike.osd.bsdi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 20 Jul 2000, John Baldwin wrote: > No, that's wrong, too. A normal disk has a proper slice table (slices start > on cylinder boundaries and do not contain the MBR, thus leaving the first track > cylinder unused). A truly dedicated disk (disklabel auto ) uses a track > ... > at all to the drive's geometry. As with truly dedicated mode, the MBR is > actually contained in boot1, but in dangerously dedicated mode we use the > slice table hard-coded into the boot code. This slice table has 1 slice > which is 50000 blocks long, or 25000k. The rest of the disk is marked as > unused even though it is, in fact, used. The fact that it works at all is > due to brokenness on our part (we don't check that partitions in a disklabel > fit in the parent slice) and also results in several hacks in various portions > of the code where we have to check for such bogusness and work around it. No, that's wrong too :-) . We a lot of checking that partitions in a disklabel fit in the parent slice. We clip partitions that don't fit in various ways for backwards compatibility. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message