Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 23:57:37 -0800
From:      Mahlon <mahlon-dated-1018252658.664107@martini.nu>
To:        Roger Williams <rogerw1962@hotmail.com>
Cc:        questions@freebsd.org
Subject:   Re: subnets in /etc/exports file?
Message-ID:  <20020402235737.R311@martini.nu>
In-Reply-To: <F223gmOmifzbmqtgmdr00005e26@hotmail.com>; from "rogerw1962@hotmail.com" on Tue, Apr 02, 2002 at 11:57:33PM
References:  <F223gmOmifzbmqtgmdr00005e26@hotmail.com>

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

--GEn4szYucjS2InE7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 02, 2002, Roger Williams wrote:
> Hello,
> Does any one know if FreeBSD will accept line 1) below in place of line 2=
)=20
> in an /etc/exports file?
>=20
> Thanks,
> Roger
>=20
> 1) /home  -alldirs  10.0.0.1/240
> 2) /home  -alldirs  10.0.0.1 10.0.0.2 10.0.0.3 ......


I assume that's /24, not /240.

For stuff like this, it's usually easier to just *try* it and see for
yourself.  You'll get a faster answer than waiting for mailing list
replies.

Apr  2 23:55:05 laika mountd[132]: bad net: 192.168.2.0/24

See exports(5).  There are some examples using the proper -mask syntax.



Mahlon E. Smith                          jabber id: mahlon@chat.martini.nu
http://www.martini.nu/                 get pgp key:  mahlon-pgp@martini.nu
=2E.........................................................................
                       Save energy: be apathetic.

--GEn4szYucjS2InE7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----

iD8DBQE8qrXxwL5r+zYGsmcRAmqFAKCr/jxQYSk1SHW0Izu8do5elKzj5wCfZhh9
l7jPC5OE1iFom0tpnd4IAR0=
=gQ3v
-----END PGP SIGNATURE-----

--GEn4szYucjS2InE7--

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?20020402235737.R311>