Read operation on Block device.

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

 



Hi,
 Can anybody explain me how read operation on Block device (say ide
device) work.
The read file operations of Block device is set to generic_file_read,
i.e nothing. and the ide driver does not have read routine.
Then, How Block device driver or Ide Driver reads the data?

for eg in this type of app.
i = open(/dev/hda, O_RDONLY);
read(i ,....);

Thanks in advance.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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