From owner-cvs-all@FreeBSD.ORG Thu Aug 19 12:00:05 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 113F616A4D0 for ; Thu, 19 Aug 2004 12:00:05 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7CFF43D46 for ; Thu, 19 Aug 2004 12:00:04 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 20536 invoked from network); 19 Aug 2004 12:00:04 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 19 Aug 2004 12:00:04 -0000 Received: from [10.50.40.208] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i7JC00L8054265; Thu, 19 Aug 2004 08:00:00 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: src-committers@FreeBSD.org Date: Thu, 19 Aug 2004 07:17:35 -0400 User-Agent: KMail/1.6.2 References: <200408191109.i7JB9DRc026375@repoman.freebsd.org> In-Reply-To: <200408191109.i7JB9DRc026375@repoman.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408190717.35788.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: cvs-src@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/fsck_ffs setup.c src/sbin/newfs mkfs.c src/sys/ufs/ffs fs.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 12:00:05 -0000 On Thursday 19 August 2004 07:09 am, John Baldwin wrote: > jhb 2004-08-19 11:09:13 UTC > > FreeBSD src repository > > Modified files: > sbin/fsck_ffs setup.c > sbin/newfs mkfs.c > sys/ufs/ffs fs.h > Log: > Generalize the UFS bad magic value used to determine when a filesystem > has only been partly initialized via newfs(8) so that it applies to both > UFS1 and UFS2. > > Submitted by: "Xin LI" delphij at frontfree dot net > MFC: maybe? Tested via a vnode-backed md0 by checking that a completed newfs could fsck ok but that an interrupted newfs for both -O 1 and -O 2 would result in fsck warning about an incomplete filesystem. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org