cvs commit: src/sbin/newfs mkfs.c
Nate Lawson
nate at root.org
Thu May 22 16:18:12 PDT 2003
On Thu, 22 May 2003, Nate Lawson wrote:
> > + for (i = 0; i < fsdummy.fs_ncg; i++)
> > + bwrite(&disk, fsbtodb(&fsdummy, cgsblock(&fsdummy, i)),
> > + chdummy, SBLOCKSIZE);
> > + }
>
> I must be missing something -- I can't see how this wipes out the
> alternate superblocks and not just the first one.
Never mind. Somehow kept skipping over the loop here. Actually there's a
style bug in that the chdummy line is spaces not tabs. This contributed
to me missing it. :)
-Nate
More information about the cvs-src
mailing list