summaryrefslogtreecommitdiff
path: root/sys/man/4
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@rei2.9hal>2012-02-07 03:29:58 +0100
committercinap_lenrek <cinap_lenrek@rei2.9hal>2012-02-07 03:29:58 +0100
commitd970ed6a5a243c2ec69857b69382b79eaaad1e87 (patch)
treefd727aefc993adf6f76afc0d4ea7bac61561fa29 /sys/man/4
parent5acde1e791e879cc24dc4fe8738994ea3a4bb9ba (diff)
bring manpage and debug code of exportfs -P closer to reality
Diffstat (limited to 'sys/man/4')
-rw-r--r--sys/man/4/exportfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/man/4/exportfs b/sys/man/4/exportfs
index 649e0444b..b7cbeb979 100644
--- a/sys/man/4/exportfs
+++ b/sys/man/4/exportfs
@@ -126,7 +126,7 @@ contains one regular expression per line,
to be matched against path names
relative to the current working directory
and starting with
-.BR ./ .
+.BR / .
For a file to be exported, all lines with a prefix
.B +
must match and all those with prefix
@@ -204,7 +204,7 @@ To export the archive of one user for one month, except for secrets,
.IP
.EX
cd /n/dump
-echo '+ ^\e.(/2003(/10..(/usr(/glenda/?)?)?)?)?' > /tmp/pattern
+echo '+ ^/(2003(/10..(/usr(/glenda/?)?)?)?)?' > /tmp/pattern
echo '- \e.(aes|pgp)$' >> /tmp/pattern
exportfs -P /tmp/pattern
.EE