Subject: Re: kern/30525: remounting ffs read-only (mount -ur) does not sync metadata
To: None <gnats-bugs@netbsd.org>
From: Darrin B.Jewell <dbj@netbsd.org>
List: netbsd-bugs
Date: 06/28/2005 17:23:37
"Darrin B.Jewell" <dbj@netbsd.org> writes:
> The following three recipies will reproduce this bug:

I also wanted to add this fourth recipe, which I created
after code inspection and testing:

  newfs /dev/rwd1a
  mount_ffs /dev/wd1a /mnt
  touch /mnt/test
  tail -f /mnt/test &
  echo test >> /mnt/test
  mount_ffs -o update,ro /dev/wd1a /mnt

This is important because just having the file open
for read is enough to keep the file from being flushed.

Darrin