Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 09:37:12 +0100 (CET)
From:      Micke Josefsson <mj@isy.liu.se>
To:        Peter Schwenk <schwenk@math.udel.edu>
Cc:        questions@freebsd.org
Subject:   Re: /etc/exports quickie
Message-ID:  <XFMail.000216093712.mj@isy.liu.se>
In-Reply-To: <38A97C9E.2F5925CF@math.udel.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On 15-Feb-00 Peter Schwenk wrote:
> The man page for exports sez '-ro' exports read-only.  This is a RTFM
> situation if I've ever seen one.
> 

Perhaps, but if you don't UNDERSTAND the intricacies of the manual?


My original (non-functioning) exports was like this:

/a      -network blabla
/b      -network blabla
/c      -network blabla

which did not work as they all have to be on the same line, like:

/a /b /c -network blabla

So, I thought, how do make one of the above readonly? If I did

/a /b /c -ro -network blabla

they all got read-only which I didn't want, and

/a -ro /b /c -network blabla 

was definately not allowed. This caused me to post the original question.

The solution, as suggested by Guy Helmer and Brian Anderson (thanks!), is that
my first layout actually works if the line after the exported fs are not
identical:

/a /b -network blabla
/c    -ro -network blabla

I would have found this eventually but at the time the solution did not dawn on
me. And yes, I did read the man pages. Over and over again actually.


----------------------------------
Michael Josefsson, MSEE
mj@isy.liu.se

This message was sent by XFMail
running on FreeBSD 3.1 
----------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000216093712.mj>