Subject: Re: bogus "/dev/wd0c: file system not clean (fs_flags=1); please fsck(8)"
To: Tad Hunt <>
From: Manuel Bouyer <>
List: tech-kern
Date: 02/20/2002 20:14:32
On Tue, Feb 19, 2002 at 04:42:42PM -0800, Tad Hunt wrote:
> My question was why do I see the "file system not clean" warning
> (from sys/ufs/ffs/ffs_vfsops.c) when I'm simply changing the mounted
> partition from read/write to readonly (the "-u" flag to mount(8)).
> without unmounting it first. I would expect the switch to readonly
> to have flushed any pending writes, and then switch the filesystem
> to readonly mode.

The message is bogus (the filesystem is really marked clean), I think this has
been fixed in -current.

Manuel Bouyer, LIP6, Universite Paris VI.