Re: bin/51619

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Thu, 08 May 2003 07:19:05 +0200
In message <200305072229.h47MTDTh024656_at_beastie.mckusick.com>, Kirk McKusick wr
ites:
>At one time I had the suggested change that you made in bin/51619
>in the FreeBSD-5.0 newfs program. The problem with that change is
>that the bootstrap on some architectures now exceeds 8K which means
>that instead of zeroing an old superblock you destroy the boot code.

Actually we have managed to get it down to 8k on all architectures
as far as I belive.

Anyway, if we check that it is a valid superblock before zeroing
it, I don't think we will put any boot code in harms way.

-- 
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.
Received on Wed May 07 2003 - 20:19:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:06 UTC