[Clug-tech] Finding open files on a device. Was: Procedure for removing USB drives
sgrover at open2space.com
Tue Nov 28 12:43:39 PST 2006
-----BEGIN PGP SIGNED MESSAGE-----
The fuser command does this for you. Man fuser will give you the
details you need.
Mark Carlson wrote:
> This reminds me of something that happens to me at random occasions.
> Is there a way of finding out which files are open on a mounted
> device? I know you can get a list of file descriptors for a process
> from /proc/<pid>/fd/ so I'm wondering if there is something similar to
> see what files are open on a device. Anybody have any ideas?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the clug-tech