Hauke Fath

Results 11 comments of Hauke Fath

Ahh, finally at the right place! This started for me many moons ago on 10.6 -- coincidentally, after I took out a Kerberos ticket. Through system updates (10.6 -> 10.12...

It looks like meson fails to detect libquota on NetBSD, and then ends up with some deprecated 4.4BSD API...

On netbsd-10, the meson script gives me ``` Library prop found: YES Library quota found: YES Library rpcsvc found: YES Run-time dependency libtirpc found: NO (tried pkgconfig and cmake) Has...

Where does the check for "getfsquota()" come from? I can't find that function in any NetBSD younger than 10 yrs. Maybe [this will help](http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/netatalk3/patches/patch-macros_quota-check.m4?rev=1.2;content-type=text%2Fplain;hideattic=0;only_with_tag=MAIN)?

This one makes it look better: ``` --- meson.build.orig 2024-11-15 06:52:12.000000000 +0000 +++ meson.build @@ -1017,7 +1017,7 @@ else if have_quota quota_deps += rpcsvc quota_provider += 'SunRPC' - if quota.found()...

Breaks the build, because other parts (etc/afpd/nfsquota.c) are still using the old, deprecated quota interface. Looks like moving to libquota needs a lot more work.

There is a longish tech-kern thread on redesigning the NetBSD quota support from 2011 ( [libquota proposal](https://mail-index.netbsd.org/tech-kern/2011/03/oindex.html) ), coincidentally initiated by Netatalk build problems. It looks like FreeBSD [implements](https://man.freebsd.org/cgi/man.cgi?query=quotafile&apropos=0&sektion=3&manpath=FreeBSD+13.4-RELEASE&arch=default&format=html) the...

I struggle to understand the function of nfsquota.c -- is that supposed to deal with shares that reside on a nfs volume? The question is whether that functionality can be...

getnfsquota() is the only function exported from nfsquota.c. It is only called from a section in quota.c that will be '#ifdef HAVE_LIBQUOTA'ed out. IOW, for libquota support nfsquota.c shouldn't be...

Thanks, I'll play around with that. To my understanding, the point of libquota is a filesystem independent API, to avoid rummaging around in low-level data structures. So yes, I would...