From: apawar.linux@gmail.com (Abhijit Pawar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Filtering USB storage data in kernel module
Date: Thu, 17 Nov 2011 14:15:35 +0530 [thread overview]
Message-ID: <4EC4C9AF.8090008@gmail.com> (raw)
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
next reply other threads:[~2011-11-17 8:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-17 8:45 Abhijit Pawar [this message]
2011-11-17 14:49 ` Filtering USB storage data in kernel module 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EC4C9AF.8090008@gmail.com \
--to=apawar.linux@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.