I have a SCSI device connected to /dev/rsd2a that I need to write to.
I can read from it using C, but cannot write to it. od and dd work
well with my SCSI device, but nothing else will write to it. I want
to lseek to a particular byte on the disk and write to that byte. I
wish I had the source code for dd. I've tried using fopen and open.
fopen and fread work OK, but open and read do not work. I cannot write
using fopen or open. If anyone has any suggestions or solutions or source
code, I would really appreciate it.
Thank you in advance,