haneWIN NFS Server

haneWIN NFS Server

The following options are supported:

-name:<sharename>assigns a name to the exported path as an alternate name for mounting.
-alldirsallows the host(s) to mount at any point within the filesystem.
-umask:<mask>set the umask for group and world permissions on the filesystem, default 022
-readonlylimits access to reading
-publicEnables WebNFS access.
-lowercasemaps all file names to lowercase, otherwise case is preserved.
-mapall:<uid>[:<gid>]all Unix user-ids and group-ids are mapped to the specified user-id and group-id.
-maproot:<uid>[:<gid>]the Unix super user root is mapped to the specified user-id, group-id. Without a mapping entry root will be mapped to user and group nobody.
-rangeIP adresses are interpreted in pairs as from-to ranges enabling client access from all addresses in a range (more flexible than the unix -net -mask options).

On the client side use standard Unix notation for mounting drives and directories:
C: --> /c
D:\nfs --> /d/nfs
e.g.: Directory D:\nfs is mounted on /mnt/nfs.
mount -t nfs 192.168.1.4:/d/nfs /mnt/nfs

================================
  /\_/\                        
 (=^o^=)  Wu.Country@侠缘      
 (~)@(~)  一辈子,用心做一件事!
--------------------------------
  学而不思则罔,思而不学则怠!  
================================
原文地址:https://www.cnblogs.com/WuCountry/p/2479539.html