Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2011 16:23:49 +1000
From:      Peter Jeremy <peterjeremy@acm.org>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: 9.0 beta2 & the new bsdinstaller
Message-ID:  <20110920062349.GA84006@server.vk2pj.dyndns.org>
In-Reply-To: <4E7734B7.8030507@cran.org.uk>
References:  <20110918095526.D866D1065670@hub.freebsd.org> <4E7734B7.8030507@cran.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2011-Sep-19 13:25:27 +0100, Bruce Cran <bruce@cran.org.uk> wrote:
>I seem to remember (perhaps incorrectly) there was a discussion about=20
>bumping the default to 128 kB or more for the freebsd-boot partition.=20
>Will 64 kB be enough for 9.x?

At least for x86 architectures, it seems adequate.  The GPT loaders
are 13K (UFS) and 33K (ZFS).  Even if they were combined with no code
overlap, that's only 46KB.  As for missing functionality, the only
things I can think of would be:
1) multiboot support - which is implemented in <<512 bytes for MBR so
it's difficult to see how it could require more than a few KB.
2) "nextboot" support for ZFS - writing to ZFS is not feasible in the
bootloader so this implies some other alternative.
3) Potentially linked to the above - provision for booting off ZFS
clones or snapshots.
I'm not sure how much code the latter two features might require.

As for size, I'd suggest that if the default freebsd-boot size is
going to be changed, it should be adjusted so that the following
partition is aligned to a reasonably sized power of 2 - 128KB or
256KB.

--=20
Peter Jeremy

--cWoXeonUoKmBZSoM
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk54MXUACgkQ/opHv/APuIfl0ACgnvMKF3vxt0iRKiC6fIvIiSxx
UHsAoJgEKMX2/TbuZIgiFr+xxe+acu2A
=2TSu
-----END PGP SIGNATURE-----

--cWoXeonUoKmBZSoM--



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