summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/config.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-04-22 18:59:03 +0000
committerobrien <obrien@FreeBSD.org>2001-04-22 18:59:03 +0000
commit780a4d34aaa9b5a529fcbfed4c0e0a982ff95482 (patch)
tree112bc122dddd16599812abd590f98ba44b797666 /usr.sbin/sade/config.c
parent44da718951b92ba497c009c23224d0d83325e2c1 (diff)
downloadFreeBSD-src-780a4d34aaa9b5a529fcbfed4c0e0a982ff95482.zip
FreeBSD-src-780a4d34aaa9b5a529fcbfed4c0e0a982ff95482.tar.gz
Our exports(5) syntax is rather "host-centric", while people comming from
a Sun background think in a more FS-centric mind set. Add a note to help the Sun backgrounded ones to not make invalid assumptions.
Diffstat (limited to 'usr.sbin/sade/config.c')
-rw-r--r--usr.sbin/sade/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c
index 58939bb..0fb0c7c 100644
--- a/usr.sbin/sade/config.c
+++ b/usr.sbin/sade/config.c
@@ -980,6 +980,7 @@ configNFSServer(dialogMenuItem *self)
vsystem("echo '#/a -maproot=0 -network 10.0.1.0 -mask 255.255.248.0' >> /etc/exports");
vsystem("echo '#' >> /etc/exports");
vsystem("echo '# You should replace these lines with your actual exported filesystems.' >> /etc/exports");
+ vsystem("echo '# Note that BSD's export synatx is \"host-centric\" vs. Sun\'s \"FS-centric\" one.' >> /etc/exports");
vsystem("echo >> /etc/exports");
sprintf(cmd, "%s /etc/exports", variable_get(VAR_EDITOR));
dialog_clear();
OpenPOWER on IntegriCloud