Subject: Re: Detaching live sd devices
To: None <tech-kern@NetBSD.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: tech-kern
Date: 07/27/2005 22:32:51
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