X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fexportfs%2Fexports.man;h=8d0866788170f04823658f183117ec52301671fb;hb=912b1f1584d17aea680d561296bff407ea2bb175;hp=120ed2c99f83f16033ba6b4060eb970564c6be1a;hpb=c0e89b264fb01c5b4bb925b32d1b6b7764c44d4a;p=nfs-utils.git diff --git a/utils/exportfs/exports.man b/utils/exportfs/exports.man index 120ed2c..8d08667 100644 --- a/utils/exportfs/exports.man +++ b/utils/exportfs/exports.man @@ -46,7 +46,11 @@ above pattern does not include hosts such as \fIa.b.cs.foo.edu\fR. You can also export directories to all hosts on an IP (sub-) network simultaneously. This is done by specifying an IP address and netmask pair as -.IR address/netmask . +.IR address/netmask +where the netmask can be specified in dotted-decimal format, or as a +contiguous mask length (for example, either `/255.255.252.0' or `/22' appended +to the network base address result in identical subnetworks with 10 bits of +host). .TP '''.B =public '''This is a special ``hostname'' that identifies the given directory name @@ -335,7 +339,7 @@ which is the default setting. '''# Mapping for client foobar: '''# remote local '''uid 0-99 - # squash these -'''uid 100-500 1000 # map 100-500 to 1000-1500 +'''uid 100-500 1000 # map 100-500 to 1000-1400 '''gid 0-49 - # squash these '''gid 50-100 700 # map 50-100 to 700-750 '''.fi