O_NONBLOCK for devices with removable media
Marc Olzheim
marcolz at stack.nl
Mon Aug 1 13:35:48 GMT 2005
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 (fully
> detected by the USB subsystem) with two slots
> (one with a media and one without any media). An open with O_NONBLOCK on the
> empty slot (/dev/da1) is blocking me.
> Is this OK?
Hmm, it seems not. Perhaps is trying to do its magic first. What's the
wchan of the process doing the open() ?
Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050801/2f3937a8/attachment.bin
More information about the freebsd-hackers
mailing list