svn commit: r316132 - head/sys/boot/i386/boot2

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Mar 29 21:36:13 UTC 2017


--------
In message <7448826.asYms2TLO2 at ralph.baldwin.cx>, John Baldwin writes:
>On Wednesday, March 29, 2017 09:30:03 AM Ngie Cooper wrote:

>> Log:
>>   Parameterize out 7680 (15 * 512) as BOOT2SIZE, similar to sys/boot/i386/zfsboot/...
>>   
>>   This is being done to make it easier to change in the future--this action might be
>>   needed sooner rather than later because of gcc 6.3.0 bailing, stating that there
>>   is negative free space left (deficit) in the boot2 bootloader.
>>   
>>   MFC after:	2 months
>>   Sponsored by:	Dell EMC Isilon
>
>This can't be changed.  It's baked into the BSD disklabel format.

No it is not, it is baked into FFS, and for UFS2 0, 8, 64 and 256K works.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the svn-src-all mailing list