Subject: Re: kern/30525: remounting ffs read-only (mount -ur) does not sync metadata
To: None <dbj@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Darrin B.Jewell <dbj@netbsd.org>
List: netbsd-bugs
Date: 06/28/2005 21:25:01
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