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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 

--
[EMAIL PROTECTED]
[EMAIL PROTECTED]                                          USB project
http://www.etla.net/~n_hibma/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to