RFC: don't allow any access to unexported mounts for NFSv4

Alexander Leidinger Alexander at Leidinger.net
Fri Jun 17 06:57:50 UTC 2011


Quoting Rick Macklem <rmacklem at uoguelph.ca> (from Thu, 16 Jun 2011  
10:52:18 -0400 (EDT)):

> As such, I think it might be better to remove the "hack" and
> simply require that all file systems from the NFSv4 root down
> be exported (which is what is needed for ZFS now, afaik).

This does not match the behavior on Solaris. There we have
  pool/not_exported_dataset/exported_dataset
and a v4 mount works (I didn't see how to verify if a mounted FS is  
NFSv4, but I modified /etc/default/nfs to have NFS_CLIENT_VERSMIN=4).

Bye,
Alexander.

-- 
Marxist Law of Distribution of Wealth:
	Shortages will be divided equally among the peasants.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-fs mailing list