Subject: Re: VFS layer documentation
To: Matthias Scheler <tron@zhadum.de>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 05/25/2004 11:38:58
--XvKFcGCOAo53UbWW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 25, 2004 at 07:55:49PM +0200, Matthias Scheler wrote:
> On Tue, May 25, 2004 at 10:39:32AM -0700, Bill Studenmund wrote:
> > VFS_MOUNT() turns that into a call to vfs_export(). To turn a file
> > handle into a vnode, VFS_FHTOVP(). Then to check exports,
> > VFS_CHECKEXP(). Note that fhopen(2) and friends also use
> > VFS_FHTOVP().
>=20
> Can I mark my filesystem as not NFS exportable (by design) and not
> implement that funcationality?

Yes. Please implement file handles if you can. But you don't have to
implement CHECKEXP - just have it return an error. Also, don't support
calling vfs_export().

Take care,

Bill

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFAs5LCWz+3JHUci9cRAu8mAJ45SbAouC6Qg828Ag5kNYk84oucOgCbBeUW
3rr4+uNrP9wmgsFoXVx1ju8=
=eWMK
-----END PGP SIGNATURE-----

--XvKFcGCOAo53UbWW--