I am having issues with sector reading a USB drive in Linux.
I am using the Linux unbuffered file I/O API calls.
My call to open succeeds:
open ( "/media/92A5-C148", O_RDONLY );
However, my call to read fails:
read ( fd, buffer, buffersize );
strerror() returns "IS A DIRECTORY".
Can anyone help?
You have to access the device and not the mount point. Look at your devices list, where the USB is connected on.