Question: Invoking driver code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All,

<Proxying for a workmate - I'll get her on the list directly... eventually>

=================================================================
I have a scsi device defined with no partitions. I am able to open the
device
successfully by giving fp = open("/dev/sda",...) however when I do a read
on
fp the driver code doesn't get invoked.

I guess I have to do something before I can access the device. Can anyone
tell me what is that I have to do to be able to access the device ?

Do I have to mount the device after making a file system?

=================================================================

Thanks much for any enlightenment.

Sincerely,

--
VirtualSean

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux