Hi, I am trying to implement a kernel module that can track read/write requests to a USB-mounted flash device (say, mounted as FAT filesystem).
I am unable to figure out how the read,write requests that are in the form of [sector, size] in the VFS layer are passed into urb structure before calling usb_submit_urb(). My understanding is at the lowest level a call to usb_submit_urb() is required to perform a read/write operation. Does the mtdblock do the conversion ? My second question is, the urb structure has a member called transfer_buffer (to fill in data) and transfer_buffer_length to indicate the size. How does the driver know where (location/address) to write this data ? Thanks in advance, -siddharth __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
