Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Aug 2005 15:35:46 +0200
From:      Marc Olzheim <marcolz@stack.nl>
To:        soc-victor@freebsd.org
Cc:        Marc Olzheim <marcolz@stack.nl>, freebsd-hackers@freebsd.org
Subject:   Re: O_NONBLOCK for devices with removable media
Message-ID:  <20050801133546.GA39886@stack.nl>
In-Reply-To: <494025505080106336a329bb@mail.gmail.com>
References:  <494025505080104427c3f91f6@mail.gmail.com> <20050801130502.GA39470@stack.nl> <494025505080106336a329bb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 01, 2005 at 04:33:23PM +0300, victor cruceru wrote:
> Hi Marc,
> Thanks for the info. Here it is one my situation. I have a CF reader (ful=
ly=20
> detected by the USB subsystem) with two slots
> (one with a media and one without any media). An open with O_NONBLOCK on =
the=20
> empty slot (/dev/da1) is blocking me.
> Is this OK?=20

Hmm, it seems not. Perhaps is trying to do its magic first. What's the
wchan of the process doing the open() ?

Marc

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC7iUyezjnobFOgrERAss6AKCyQ1MPXsGr2fu8RFgXHKG30e4heQCeOYgB
csSr5SfkUNyoqwLuPL6J5sA=
=aLlU
-----END PGP SIGNATURE-----

--oyUTqETQ0mS9luUI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050801133546.GA39886>