Subject: Re: NFS problem
To: Mats <netbsd@comhem.se>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-users
Date: 10/07/2006 16:17:19
--9v2bTOXBzuB5Piju
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Oct 07, 2006 at 12:35:31PM +0200, Mats wrote:
> On Fri, Oct 06, 2006 at 11:45:06PM +0200, Quentin Garnier wrote:
> > > It works if I set up a partition with the name /usr/local/export,
> > > but I know it should work without that.
> >=20
> > No. NFS export options are per-mount point. Mount point of a
> > local file-system that is.
>=20
> OK. How do I get /usr/local/export per-mounted? Something like
> when you set up a cdrom with noauto? Probably not as I can see in
> your next answer?
>=20
> > > I have tried changing the chmod, chgrp and chown but that doesn't
> > > change anything. Must there be something in my fstab?
> > =20
> > No. The solution is to use null mounts.
>=20
> Stucked. How do I use null mounts? Is the solution in the
> /etc/exports?
mount -t null /usr/local/export /mnt/export
And then export /mnt/export in /etc/exports.
--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.
--9v2bTOXBzuB5Piju
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iQEVAwUBRSe279goQloHrPnoAQJXaQf+OZsRhlDv1GdyZGjD1U3bH2mc7JMNSbKu
ibIztuacoU99WoTr6B5zI992j7y4LEad/QIsK319ypsirEaGaFVnrf+L1ut+jDm2
EksZcJDbtewr6m2tY6qJNBal2x7zj0QzXpobBfVWvjglGtPg5826bB11cErc5AdE
WgNssyxKY1e09vtCLwtMegFos9cbq4jQkvx92zil5/ACvgol3cLQb7VmJvs/I/UZ
x0LbwxXzQlnFcTR5oNSBvrO2Wc0RM7nFZbHtmVc6LWZ3ElwzFhsZXEBoKX9kE0jg
tKBnYYLOKBwmBOGMaL7aVSmT7pluKJstssz//dlCECGYiQ2jknlPRA==
=RsCO
-----END PGP SIGNATURE-----
--9v2bTOXBzuB5Piju--