Skip to contentSkip to conversation

kNFSd - 6 of 7 - Create a mountpoint for the nfsd filesystem.

PATCH New NeilBrown 1 participant 1 message Aug 5, 2003

Subsystems (3)
lore
Share & tools
lore

NeilBrown

author
#0 lore raw

PATCH 1/1 kNFSd - 6 of 7 - Create a mountpoint for the nfsd filesystem.

### Comments for ChangeSet

Though the nfsd module can create this, having it always there makes auto-loading-on-mount work better.

Note: it was previously recommended that the nfsd filesystem be mounted on /proc/fs/nfs, which I was never comfortable with. Henceforth the recommended location will be /proc/fs/nfsd. nfs-utils 1.0.6 and later will support both.

----------- Diffstat output ------------

 ./fs/proc/root.c |    1 +
 1 files changed, 1 insertion(+)
fs/proc/root.c renamed from fs/proc/root.c~current~ +1 -0
diff ./fs/proc/root.c~current~ ./fs/proc/root.c
@@ -65,6 +65,7 @@ void __init proc_root_init(void)
 #endif
 	proc_root_fs = proc_mkdir("fs", 0);
 	proc_root_driver = proc_mkdir("driver", 0);
+	proc_mkdir("fs/nfsd", 0); /* somewhere for the nfsd filesystem to be mounted */
 #if defined(CONFIG_SUN_OPENPROMFS) || defined(CONFIG_SUN_OPENPROMFS_MODULE)
 	/* just give it a mountpoint */
 	proc_mkdir("openprom", 0);

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs