raw device
I have a USB device /dev/sda1.I use raw to bound it to /dev/raw/raw1.I can use fread to read from it,but I cannot use fwrite to write to it.
If i use system call read or write,it gives me the message:invalid argument.Why?
Thank you very much!
|