Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2002 01:54:06 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Kirk McKusick <mckusick@beastie.mckusick.com>
Cc:        Manfred Antar <null@pozo.com>, current@FreeBSD.ORG, Robert Watson <rwatson@tislabs.com>, re@FreeBSD.ORG, Poul-Henning Kamp <phk@critter.freebsd.dk>
Subject:   Re: Update to UFS2 Superblock Format
Message-ID:  <3DE88ABE.B22DFB84@mindspring.com>
References:  <200211300743.gAU7hj59078306@beastie.mckusick.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kirk McKusick wrote:
>         Ah
>         No wonder, I tried editing the /sys/boot/i386/boot2/Makefile
>         to enable UFS2 bootblock but then disklabel complained that
>         boot2 was too big. I will have to revert to UFS1
>         Thanks
>         Manfred
> 
> You have hit upon the exact problem. UFS2 has a much bigger area
> reserved for the boot block, but the programs that set up disk labels
> and boot blocks don't know about it yet so assume that they have to
> cram into the much smaller UFS1 boot-block area.

Seems to be a candidate to explain the disklabel corruption,
actually.  The disklabel is expected to follow the initial
boot code, and preceed the region(s) it describes...

Basically, the boot blocks are going to have to know the
disklabel offset, as promiscuous knowledge (i.e. hard-wired
intot he code).

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DE88ABE.B22DFB84>