[Dovecot] NFS rquota support
Timo Sirainen
tss at iki.fi
Thu Aug 2 20:30:44 EEST 2007
On Thu, 2007-08-02 at 17:34 +0100, Mike Brudenell wrote:
> I've just tried #including the rquota_cdr.c file produced by running
> rpcgen on the rquota.x file (as in the code I sent out a few days ago).
>
> That compiled and runs OK, and successfully returns a storage when
> queries with the GETQUOTAROOT command:
>
> a02 getquotaroot inbox
> * QUOTAROOT "inbox" "pmb1"
> * QUOTA "pmb1" (STORAGE 72970240 104857600)
> a02 OK Getquotaroot completed.
>
> *BUT* the units returned are not correct: they appear to be coming
> back as bytes when the RFC says that they should be in units of 1024
> octets:
That's a difference between v1.0 and v1.1. v1.1 divides it by 1024
later.
> The mystery of the missing xdr_getquota_args() still needs sorting
> properly though.
It is a bit weird why I don't get that error, because I don't see it
defined anywhere. So I suppose it has to use rpcgen after all to create
the .c file. Want to send a patch? :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070802/d1921a15/attachment.bin
More information about the dovecot
mailing list