Date: Thu, 22 May 2003 16:18:12 -0700 (PDT) From: Nate Lawson <nate@root.org> To: Doug Barton <dougb@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/newfs mkfs.c Message-ID: <20030522161713.L95941@root.org> In-Reply-To: <20030522161035.X95941@root.org> References: <20030522183930.564EF37B49D@hub.freebsd.org> <20030522161035.X95941@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030522161713.L95941>