Re: dd of=/dev/port.

From: amos_at_nonexisting.hamakor.org.il
Date: Sun 08 Aug 2004 - 17:30:39 IDT


Shaul Karl wrote:

> Is the following expected?
>
> # printf "\xa2" | dd of=/dev/port bs=1 count=1 skip=675
> 0+0 records in
> 0+0 records out
> 0 bytes transferred in 0.001999 seconds (0 bytes/sec)
> # printf "$?\n"
> 0
>
>I run it as root. Why there were 0 bytes transferred and still it is
>a 0 return code? Is there any significance in the fact that there were
>
>
What does strace(1) say about this?

--Amos

=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il



This archive was generated by hypermail 2.1.7 : Sun 08 Aug 2004 - 17:42:12 IDT