cvs commit: src/usr.sbin/sysinstall config.c
Ceri Davies
ceri at submonkey.net
Thu Nov 4 03:10:27 PST 2004
On Thu, Nov 04, 2004 at 01:28:43AM +0000, David E. O'Brien wrote:
> obrien 2004-11-04 01:28:43 UTC
>
> FreeBSD src repository
>
> Modified files:
> usr.sbin/sysinstall config.c
> Log:
> Stop listening to bug reports with wrong solutions and commit a fix to the '
> problem I know will work.
This line now gets written to /tmp/exports:
> | @@ -876,7 +876,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 syntax is \"host-centric\" vs. Sun\'s \"FS-centric\" one.' >> /etc/exports");
> | + vsystem("echo \"# Note that BSD's export syntax is 'host-centric' vs. Sun's 'FS-centric' one.\" >> /tmp/exports");
Also, wouldn't it just be easier to open() /etc/exports and write to it
that way? I understand that this isn't how this is done anywhere else
in sysinstall, but why not?
Ceri
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20041104/873ed725/attachment.bin
More information about the cvs-src
mailing list