Subject: Re: detachable device: stuck in biowait
To: gabriel rosenkoetter <gr@eclipsed.net>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: tech-kern
Date: 01/28/2002 23:41:15
gabriel rosenkoetter wrote:
> > A solution is to always unmount the filesystem
> > before detaching the device.
> 
> If the compact flash device in question sends some kind of detach
> notification up the bus, would doing an unmount(2) (maybe with
> MNT_FORCE in flags) in response be reasonable?

Yes, I think this might be appropriate. Does it? How does the flash
device know it's going to be detached?
 
Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/Ports/i386/ps2.html
-=  Those who would give up liberty for a little temporary safety deserve  =-
-=  neither liberty nor safety, and will lose both.  -- Benjamin Franklin  =-