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.
No, this is not done automaticaly.
man sync(8) and sync(2).
Bernd