The following reply was made to PR kern/30525; it has been noted by GNATS.
From: "Darrin B.Jewell" <dbj@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: netbsd-bugs@netbsd.org
Subject: Re: kern/30525: remounting ffs read-only (mount -ur) does not sync metadata
Date: 28 Jun 2005 17:23:37 -0400
"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