Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix Subject: Re: FUSER equivalent for 4.2? Message-ID: <1902@umcp-cs.UUCP> Date: Thu, 17-Oct-85 22:04:52 EDT Article-I.D.: umcp-cs.1902 Posted: Thu Oct 17 22:04:52 1985 Date-Received: Sat, 19-Oct-85 07:26:14 EDT References: <419@primesun.uucp> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 14 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@umcp-cs ARPA: chris@mimsy.umd.edu