All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS and fuser
@ 2006-05-28 23:13 Craig Small
  2006-05-28 23:43 ` Neil Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Craig Small @ 2006-05-28 23:13 UTC (permalink / raw)
  To: nfs

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/<pid>/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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-05-29 12:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-28 23:13 NFS and fuser Craig Small
2006-05-28 23:43 ` Neil Brown
2006-05-28 23:54   ` Craig Small
2006-05-29  0:16     ` Neil Brown
2006-05-29  1:39       ` Craig Small
2006-05-29 11:47       ` Yi.Xiong
2006-05-29 12:10         ` Neil Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.