1 Aug
2007
1 Aug
'07
19:14
On 8/1/07, Kai Ponte <kai@perfectreign.com> wrote:
On Wed, August 1, 2007 8:56 am, Patrick Shanahan wrote:
* Kai Ponte <kai@perfectreign.com> [08-01-07 11:42]:
That would be useful. How would it be done? Does the kernel (or something else) track which apps are being used by various hardware items?
lsof <dev/name>
Thx!
...learn something new every day. :)
Kai, lsof is nice, but if you want to kill all the apps using your thumbdrive, check out "fuser -m -k </mnt-point>" as well. Note that this is much more dangerous, so treat with care. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org