zfs userquota support for rquotad (nfs)?
Dan Nelson
dnelson at allantgroup.com
Thu May 17 02:56:55 UTC 2012
In the last episode (May 17), Tom said:
> Am 17.05.12 00:17, schrieb Dan Nelson:
> > In the last episode (May 15), Tom said:
> >> Hello
> >>
> >> Has someone tried or is working on an implementation to add ZFS
> >> userquota support to rquotad?
> >>
> >> https://hg.openindiana.org/upstream/illumos/illumos-gate/rev/4f68f041ddcd
> >
> > Here's a simple implementation I coded up a year ago. Instead of trying
> > to link in libzfs on the fly, it simply popens a "zfs get" command to
> > fetch the user's quota info.
>
> Interessting. Did you also modify the quota.c file?
Hmm... no I didn't. I forgot about that :) My usecase was for an NFS
homedir server, and I never thought about the fact that
/usr/bin/quota looks up local filesystems on its own.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-fs
mailing list