nfs挂载reg文件

作者: 索马里海草 分类: NFS 发布时间: 2018-12-17 00:35

linux nfs 作为服务端

windows  nfs客户端连接挂载

出现在windows上无法直接写入linux的情况,直接在window上导入reg文件即可

代码如下,保存为reg      nfs uid=0,gid=0   (即是root权限)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default]
"MaxNfsUser"=dword:00000020
"DeleteSymLinks"=dword:00000001
"FirstContact"=dword:00000003
"UseReservedPorts"=dword:00000001
"Protocols"=dword:00cffcff
"Retransmissions"=dword:00000001
"Timeout"=dword:00000008
"CacheBlocks"=dword:00000040
"MountType"=dword:00000001
"AnonymousUid"=dword:00000000
"AnonymousGid"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ClientForNFS\CurrentVersion\Default\RegNotify]
"Default"=dword:00000000