Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172019 - nfsd fs is mounted at /proc/fs/nfs instead of /proc/fs/nfsd
Summary: nfsd fs is mounted at /proc/fs/nfs instead of /proc/fs/nfsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-24 10:05 UTC by nobody
Modified: 2007-03-24 10:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nobody 2007-03-24 10:05:21 UTC
in gentoo nfsd filesystem is mount in /proc/fs/nfs, as many sources state nfsd should be mount in /proc/fs/nfsd

This could lead to various behaviors.
as a stupid example, one could check if a server support nfsv4 by doing cat /proc/fs/nfsd/versions | grep +4

it seems that everyone think /proc/fs/nfs is for client & /proc/fs/nfsd is for server



Reproducible: Always

Actual Results:  
nfsd is mount in /proc/fs/nfs
ls /proc/fs/nfs
exports     max_block_size  nfsv4recoverydir  portlist  versions
filehandle  nfsv4leasetime  pool_threads      threads
ls /proc/fs/nfsd

Expected Results:  
nfsd should be in /proc/fs/nfsd to be safer

as a ref this http://bugs.gentoo.org/show_bug.cgi?id=25106 show that /proc/fs/nfs has been choosed to be the mount point (see comment#1) base on a document from www.citi.umich.edu. but at www.citi.umich.edu they tell to implement it in /proc/fs/nfsd

some sources
http://www.citi.umich.edu/projects/nfsv4/linux/using-nfsv4.html
http://wiki.linux-nfs.org/index.php/Nfsv4_configuration (ok can't trust that one as they trust the 1st one :D)
http://www.vanemery.com/Linux/NFSv4/NFSv4-no-rpcsec.html#notes (fedora implemntation see notes #7)
a thread at lkml.org showing they use also /proc/fs/nfsd http://lkml.org/lkml/1998/10/29/114

end with the example, but google also show that ubuntu & suse use also /proc/fs/nfsd

btw i have found http://www.penguin-soft.com/penguin/man/7/nfsd.html, here they say we can use /proc/fs/nfs OR /proc/fs/nfsd, anyway even if it's legal to use /proc/fs/nfs as we do, i think it will be safer to use /proc/fs/nfsd instead
Comment 1 SpanKY gentoo-dev 2007-03-24 10:14:44 UTC
historically it has been mounted at /proc/fs/nfs, but /proc/fs/nfsd is the new preferred location

fixed in cvs