Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 1999 21:56:11 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Mike Smith <msmith@FreeBSD.ORG>
Cc:        Bill Fumerola <billf@chc-chimes.com>, Alex Zepeda <jazepeda@pacbell.net>, current <current@FreeBSD.ORG>
Subject:   Re: fsck not cleaning on first try 
Message-ID:  <Pine.BSF.4.10.9912192155400.41729-100000@current1.whistle.com>
In-Reply-To: <199912200450.UAA04702@mass.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9912192155400.41729-100000>