On 8/1/07, Kai Ponte <[EMAIL PROTECTED]> wrote: > On Wed, August 1, 2007 8:56 am, Patrick Shanahan wrote: > > * Kai Ponte <[EMAIL PROTECTED]> [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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
