Subject: Re: detachable device: stuck in biowait
To: Ferry Sutanto <fsutanto@yahoo.com>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: tech-kern
Date: 01/28/2002 13:56:32
--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jan 26, 2002 at 11:54:29AM +0100, Jaromir Dolecek 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?

--=20
gabriel rosenkoetter
gr@eclipsed.net

--TRYliJ5NKNqkz5bu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjxVnuAACgkQ9ehacAz5CRr7wACgsWiYPfsbhkANR9p3JGuZyCOf
sPIAn1TW6gz0g7ZWiJjgJz0jAj7Ro7m2
=BLut
-----END PGP SIGNATURE-----

--TRYliJ5NKNqkz5bu--