Subject: bogus "/dev/wd0c: file system not clean (fs_flags=1); please fsck(8)"
To: None <tech-kern@netbsd.org>
From: Tad Hunt <tad@entrisphere.com>
List: tech-kern
Date: 02/15/2002 21:52:11
I do the following:

	sh# newfs /dev/rwd0c
	[newfs output elided]
	sh# mount /dev/wd0c /mnt
	sh# echo foo > /mnt/xxx
	sh# mount -u -o ro /mnt
	/dev/wd0c: file system not clean (fs_flags=1); please fsck(8)
	sh# fsck /dev/rwd0c
	** /dev/rwd0c (NO WRITE)
	** File system is clean; not checking
	sh#

I don't expect to see that warning, since I'm simply downgrading
the access to read only, without unmounting the partition.

Furthermore, if I run an fsck at the subsequent shell prompt, it
tells me the filesystem is clean.

Is this the correct behavior, or am I just on crack?

I'm running NetBSD-1.5.  Is this problem fixed on a more recent
version?

Thanks,
	-Tad