What am I not understanding about /etc/exports?
David Benfell
benfell at parts-unknown.org
Wed Apr 11 05:57:45 UTC 2007
On Tue, 10 Apr 2007 20:34:31 +0300, Giorgos Keramidas wrote:
> On 2007-04-10 08:55, David Benfell <benfell at parts-unknown.org> wrote:
> > Apr 10 08:28:59 earth mountd[739]: can't change attributes for /usr
> > Apr 10 08:28:59 earth mountd[739]: bad exports list line /usr -alldirs -maproot
> > Apr 10 08:28:59 earth mountd[739]: network/host conflict
> >
> > I've been here before; the FAQ says, "The most frequent problem
> > is not understanding the correct format of /etc/exports. Please
> > review exports(5) and the NFS entry in the Handbook, especially
> > the section on configuring NFS."
> >
> > Which leads me back to the original question. Here's the file:
> >
> > / -alldirs -maproot=root 127.0.0.1
> > #/usr/src -alldirs -maproot=root 127.0.0.1 192.168.19.1
> > /usr -alldirs -maproot=root 127.0.0.1 192.168.19.1
> > /public -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1
> > /home -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1
> > /cdrom -alldirs,quiet,ro 127.0.0.1 -network 192.168 -mask 255.255.0.0
> >
> > And:
> >
> > lupin% showmount -e earth.cybernude.org
> > Exports list on earth.cybernude.org:
> > /public 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1
> > /home 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1
> > / 127.0.0.1
> > lupin%
> >
> > As you can see, there are serious discrepancies, here. And I cannot
> > see where my syntax is correct on the lines in /etc/exports that work
> > and incorrect on the lines which don't work.
>
> Hmmm, something odd is going on. Can you show us the output of the
> command:
>
> % cat -vte /etc/exports
>
earth% cat -vte /etc/exports
/ -alldirs -maproot=root 127.0.0.1$
#/usr/src -alldirs -maproot=root 127.0.0.1 192.168.19.1$
/usr -alldirs -maproot=root 127.0.0.1 192.168.19.1$
/public -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1$
/home -alldirs -maproot=root 127.0.0.1 192.168.18.45 192.168.18.46 192.168.19.1$
/cdrom -alldirs,quiet,ro 127.0.0.1 -network 192.168 -mask 255.255.0.0$
I think this is what I expect (based on the man page for cat(1)).
Thanks!
--
David Benfell, LCP
benfell at parts-unknown.org
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).
-------------- 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/freebsd-questions/attachments/20070411/a5e32858/attachment-0001.pgp
More information about the freebsd-questions
mailing list