towards getting netbsd 4 supported as well as 3 is
Pavel Cahyna
pavel.cahyna at matfyz.cz
Thu Nov 1 21:59:11 CET 2007
hello,
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?
Pavel
[1] http://mail-index.netbsd.org/source-changes/2006/12/09/0025.html
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 stacken.kth.se
> https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lookup.diff
Type: text/x-diff
Size: 1982 bytes
Desc: not available
Url : http://lists.stacken.kth.se/pipermail/arla-drinkers/attachments/20071101/d61cf432/lookup.bin
More information about the Arla-drinkers
mailing list