On Mon, Feb 15, 2010 at 02:51:22PM +0100, Douglas Gilbert wrote: > What about O_NONBLOCK (which stops a hang on open)? > The open code common to my utilities in Linux is > below. No, O_NONBLOCK should have nothing to do with it and your code snipplet looks fine. We'll need to figure out what's really going on here. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html