From owner-freebsd-current Tue Dec 7 20:55:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.skylink.it (ns.skylink.it [194.177.113.1]) by hub.freebsd.org (Postfix) with ESMTP id 215E114EB0; Tue, 7 Dec 1999 20:55:08 -0800 (PST) (envelope-from n_hibma@webweaving.org) Received: from skylink.it (va-149.skylink.it [194.185.55.149]) by ns.skylink.it (8.9.1/8.8.8) with ESMTP id FAA24940; Wed, 8 Dec 1999 05:55:12 +0100 Received: from localhost (localhost [127.0.0.1]) by skylink.it (8.9.3/8.9.3) with ESMTP id XAA01233; Tue, 7 Dec 1999 23:05:41 +0100 (CET) (envelope-from n_hibma@webweaving.org) Date: Tue, 7 Dec 1999 23:05:40 +0100 (CET) From: Nick Hibma X-Sender: n_hibma@henny.jrc.it Reply-To: Nick Hibma To: Bruce Evans Cc: Mike Smith , Alex Zepeda , FreeBSD CURRENT Mailing List Subject: Re: mount(2) broken? In-Reply-To: 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 That sounds like the conclusion I came to as well. I had a different patch, but looking at yours, mine looks wrong. Nick > "mount -f /" on a dirty root file system causes the clean flag to stay off > forever. (I forgot to change the unclean flag for mount -u.) > > 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( > > Bruce > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message