towards getting netbsd 4 supported as well as 3 is

Pavel Cahyna pavel.cahyna at
Thu Nov 1 21:59:11 CET 2007


I have applied your patch and arla compiles. Now, there was a VFS API
change in NetBSD-current in last December [1] which was pulled up to netbsd-4,
so the following patch is needed. Thanks to Chuck Silvers for review.

Without it, a DIAGNOSTIC kernel crashes soon with a panic from lockmgr.

I have used arla with this change for a long time and it seems stable.

Could please someone commit this change to an arla stable branch?

BTW what functionality is lost by removal of the filehandle functionality?
Is nnpfs supposed to be nfs-re-exportable?



On Thu, May 24, 2007 at 09:37:23AM -0500, Jonathan A. Kollasch wrote:
> Hi,
> for starters, here's how you get a basic arla client on netbsd-4:
> in nnpfs/bsd/nnpfs_vfsops-bsd.c 
> before nnpfs_fhlookup(), make it so that it is compiled on NetBSD:
> -#ifdef __APPLE__
> +#if defined(__APPLE__) || defined(__NetBSD__)
> remove the HAVE_GETFH and HAVE_FHOPEN #defines in include/config.h after running configure
> I suppose I could learn autoconf ...
> However, PAGs will not work at this point.  Converting to kauth(9) calls
> looks very doable with some work and thought.  I might start looking
> at this.
> 	Jonathan Kollasch

> _______________________________________________
> Arla-drinkers mailing list
> Arla-drinkers at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lookup.diff
Type: text/x-diff
Size: 1982 bytes
Desc: not available
Url :

More information about the Arla-drinkers mailing list