From mboxrd@z Thu Jan 1 00:00:00 1970 From: Craig Small Subject: NFS and fuser Date: Mon, 29 May 2006 09:13:20 +1000 Message-ID: <20060528231319.GA31396@enc.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1FkURs-0006DC-JD for nfs@lists.sourceforge.net; Sun, 28 May 2006 16:13:28 -0700 Received: from ppp114-209.static.internode.on.net ([150.101.114.209] helo=mail.enc.com.au) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FkURp-0001td-Uv for nfs@lists.sourceforge.net; Sun, 28 May 2006 16:13:28 -0700 Received: from localhost (gonzo.enc.com.au [127.0.0.1]) by mail.enc.com.au (Postfix) with ESMTP id 5E689B7A6B for ; Mon, 29 May 2006 09:13:20 +1000 (EST) Received: from mail.enc.com.au ([127.0.0.1]) by localhost (gonzo.enc.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qlU5UWMO3pQA for ; Mon, 29 May 2006 09:13:20 +1000 (EST) To: nfs@lists.sourceforge.net Sender: nfs-admin@lists.sourceforge.net Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: Hello, I am the current maintainer of the psmisc package, which includes a program called fuser. fuser lets someone work out which process has opened a "file", using a wide meaning for the word file. I currently have a NFS-related bug which I'm hoping the list can help me with. The problem is if knfsd exports a directory out, it does not show up in its /proc//fd/ directory. I am looking for a nice clean way of determining what directories knfsd has exported. It appears for example that /proc/fs/nfs/exports does not appear in all versions of Linux. Another way would be to read /var/lib/nfs/xtab, but I do not know if this file location is always going to be there. My main concern is whatever assumptions I make (eg file X is always located at Y) are reasonable ones. I'm not on the NFS list so if you could CC me directly that would be great. - Craig -- Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5 Eye-Net Consulting http://www.enc.com.au/ MIEE Debian developer csmall at : enc.com.au ieee.org debian.org ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs