From owner-freebsd-current Sun Dec 19 21:56:15 1999 Delivered-To: freebsd-current@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 9DD8915266; Sun, 19 Dec 1999 21:56:13 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id VAA14941; Sun, 19 Dec 1999 21:56:13 -0800 (PST) Date: Sun, 19 Dec 1999 21:56:11 -0800 (PST) From: Julian Elischer To: Mike Smith Cc: Bill Fumerola , Alex Zepeda , current Subject: Re: fsck not cleaning on first try In-Reply-To: <199912200450.UAA04702@mass.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 19 Dec 1999, Mike Smith wrote: > > On Sun, 19 Dec 1999, Alex Zepeda wrote: > > Ditto. mount was telling me my fs wasn't clean, but after I rebooted > > it was fine and it didn't fsck that second time. > > Bruce posted (but did not commit) what may be a fix for this a while back: I wish he would commit these things! > > diff -c2 ffs_vfsops.c~ ffs_vfsops.c > *** ffs_vfsops.c~ Thu Nov 25 23:27:44 1999 > --- ffs_vfsops.c Sun Dec 5 05:12:51 1999 > *************** > *** 218,222 **** > --- 220,226 ---- > } > > + fs->fs_flags &= ~FS_UNCLEAN; > if (fs->fs_clean == 0) { > + fs->fs_flags |= FS_UNCLEAN; > if (mp->mnt_flag & MNT_FORCE) { > printf( > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message