kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Filtering USB storage data in kernel module
@ 2011-11-17  8:45 Abhijit Pawar
  2011-11-17 14:49 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Abhijit Pawar @ 2011-11-17  8:45 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-01-12  7:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-17  8:45 Filtering USB storage data in kernel module Abhijit Pawar
2011-11-17 14:49 ` Greg KH
2011-11-18 13:06   ` Abhijit Pawar
2011-11-18 14:46     ` Greg KH
2011-11-18 15:35       ` Abhijit Pawar
2011-11-21 13:55         ` Abhijit Pawar
2012-01-12  7:03           ` Abhijit Pawar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).