FUSER equivalent for 4.2?
Chris Torek
chris at umcp-cs.UUCP
Fri Oct 18 12:04:52 AEST 1985
Did not someone post an `fuser' for 4.2 some time ago? But in any
case, it is relatively trivial, though you will need access to
/dev/kmem.
To find out whether anyone has a file or directory open, find its
inode, then search the kernel file and inode tables. `ps' and
`pstat' sources are examples of programs that search about in kernel
data structures.
The real question is *why* you need to do this....
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP: seismo!umcp-cs!chris
CSNet: chris at umcp-cs ARPA: chris at mimsy.umd.edu
More information about the Comp.unix
mailing list