Date: Tue, 7 Dec 1999 23:05:40 +0100 (CET) From: Nick Hibma <n_hibma@webweaving.org> To: Bruce Evans <bde@zeta.org.au> Cc: Mike Smith <msmith@FreeBSD.ORG>, Alex Zepeda <jazepeda@pacbell.net>, FreeBSD CURRENT Mailing List <current@FreeBSD.ORG> Subject: Re: mount(2) broken? Message-ID: <Pine.BSF.4.20.9912072304550.613-100000@henny.jrc.it> In-Reply-To: <Pine.BSF.4.10.9912080443390.6397-100000@alphplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.9912072304550.613-100000>
