Just a quick suggestion; open() sets perror(). try calling perror after your open() call, it might give you (and us) some insite to why you can't open the device. On Fri, Nov 09, 2001 at 03:08:50PM -0500, Skip Gaede wrote:
Folks,
I'd like to be able to queue read/write request to my Zip drive and bypass the buffering that goes on in the kernel. From what I've read, you can do this by binding the raw device (/dev/raw) to /dev/hdc1 for example.
When I do that, I get a message that /dev/raw/raw1 has ben bound to char major 22 1. When I try
open("/dev/raw/raw1",O_RDWR|O_CREAT,S_IREAD|S_IWRITE);
it fails. Can someone tell me how to do this please?
Thanks, Skip
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug