Subject: Re: Detaching live sd devices
To: Ignatios Souvatzis <is@netbsd.org>
From: Darrin B.Jewell <dbj@netbsd.org>
List: tech-kern
Date: 07/27/2005 17:01:01
Ignatios Souvatzis <is@netbsd.org> writes:
> On Wed, Jul 27, 2005 at 09:55:37AM -0700, Bill Studenmund wrote:
>
> > Because to do this means we either have to continually mount and unmount
> > the volume or we risk having to deal with dirty file systems.
>
> I wonder whether amd could be abused to help with this, like: after a small
> period of inactivity mount ro, and mount rw on first write access. I do
> recall that somebody mentioned that mount -u ro doesn't flush (all?) dirty
> buffers, though.
>
> -is
The "mount -u ro" problem is pr kern/30525.
Darrin