Filtering USB storage data in kernel module

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

 



Hi All,
I need to filter  the data written/read to and from the USB storage 
disk. Now the way USB is made known to OS is through SCSI and then 
respective filesystem ( mostly usbfs).
So is there any way I can intercept this stack and have my kernel module 
invoked so that I will get the data.

I have been thinking on two approaches:

1. Use VFS and write a proxy filesystem for USB device which will filter 
the data.
2. checking SCSI and any intercepting point.

I am currently looking at USBMONITOR source code as well.  Please let me 
know if there is any other way to achieve this.

Regards,
Abhijit Pawar

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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