[Dovecot] fs quota - what I am doing wrong?

Timo Sirainen tss at iki.fi
Thu Mar 1 10:06:28 EET 2007


On Thu, 2007-03-01 at 10:05 +0100, Václav Hůla wrote:
> quota command:
> quotactl(Q_GETFMT|USRQUOTA, "/dev/sda8", 0, 0xbffff218) = 0
> 
> dovecot:
> quotactl(Q_GETQUOTA|USRQUOTA, "/dev/sda8", 506, {0, 135145272, 
> 1075193885, 1075193885, 135145168, 135099456, 3221217528, 134953542}) = 
> -1 EINVAL (Invalid argument)
..
> /usr/include/sys/quota.h
> extern int quotactl (int __cmd, const char *__special, int __id,
>                       caddr_t __addr) __THROW;

Actually Dovecot's quotactl() call looks correct to me. Q_GETFMT is
something different. Did you give user parameter to quota command while
straceing it?
-------------- 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/20070301/cda6ab44/attachment.pgp 


More information about the dovecot mailing list