From owner-cvs-src@FreeBSD.ORG Thu May 22 16:18:12 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44E4037B407 for ; Thu, 22 May 2003 16:18:12 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id C851F43FB1 for ; Thu, 22 May 2003 16:18:10 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 95980 invoked by uid 1000); 22 May 2003 23:18:12 -0000 Date: Thu, 22 May 2003 16:18:12 -0700 (PDT) From: Nate Lawson To: Doug Barton In-Reply-To: <20030522161035.X95941@root.org> Message-ID: <20030522161713.L95941@root.org> References: <20030522183930.564EF37B49D@hub.freebsd.org> <20030522161035.X95941@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/newfs mkfs.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 23:18:12 -0000 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