Date: Sun, 19 Dec 1999 20:50:35 -0800 From: Mike Smith <msmith@freebsd.org> To: Bill Fumerola <billf@chc-chimes.com> Cc: Alex Zepeda <jazepeda@pacbell.net>, current <current@freebsd.org> Subject: Re: fsck not cleaning on first try Message-ID: <199912200450.UAA04702@mass.cdrom.com> In-Reply-To: Your message of "Sun, 19 Dec 1999 23:28:29 EST." <Pine.BSF.4.10.9912192327580.68220-100000@jade.chc-chimes.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Sun, 19 Dec 1999, Alex Zepeda wrote: > > > Hmm. It happened again. This time I was playing around with the vmware > > stuff (the linux procfs thingy refused to buildsorta, but FWIW, I think > > this is the way to go, not bloating *our* procfs), and eventually when run > > panic'd the system. I just rebooted it (nearly a day later), and fsck > > cleaned it and printed some info, but then mount refused to mount it. A > > simple reboot from the comandline seems to have worked. Hmmm indeed. > > 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: 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( -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com 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?199912200450.UAA04702>