Re: Problem: cat < /dev/my_ttyS0 is not blocked

From: Denis Vlasenko
Date: Sat Mar 10 2007 - 17:47:20 EST


On Saturday 10 March 2007 13:16, Mockern wrote:
> I have a problem with cat < /dev/my_ttyS0 (see strace output below).
> cat function is not blocked. I don't understand why it is not stopped
> at read(0, __ and terminated?
> Thank you

Because /dev/my_ttyS0 is probaly a null file.

Please show output of 'ls -l /dev/*ttyS*'

--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/