Bigger boot block size?

Jung-uk Kim jkim at FreeBSD.org
Fri Sep 9 09:14:57 PDT 2005


On Thursday 08 September 2005 07:52 pm, Peter Wemm wrote:
> On Thursday 08 September 2005 11:18 am, Jung-uk Kim wrote:
> > I have been working on boot2 recently.  I faced constant problem
> > with boot2 size limitation.  Can we have bigger boot block size
> > (aka BBSIZE)?  In the future, we may have to support different
> > file system to boot from and we won't have any space to add the
> > support without dropping UFS1 support.  In fact, I am using
> > 32-sector boot block and I don't see any problem so far.  The
> > patch that I've been using is attached.
> >
> > Cheers,
> >
> > Jung-uk Kim
>
> Well, the obvious problem is that this can't be used on a UFS1
> partition which has just 8K reserved..

Sigh...  But bsdlabel(8) should be able to handle this case when '-B' 
option is given and first partition of the slice is UFS1, i. e., we 
keep 'historical' boot1/boot2 for a while and drop the support 
later. ;-)

Jung-uk Kim


More information about the freebsd-arch mailing list