Displaying 8 results from an estimated 8 matches for "fs_quota_get_resource".
2005 Dec 16
2
Dovecot - struct dqblk' has no member named 'dqb_curblocks
...src/lib-storage -I/usr/local/ssl/include -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT quota-fs.lo -MD -MP
-MF .deps/quota-fs.Tpo -c quota-fs.c -fPIC -DPIC -o .libs/quota-fs.o
quota-fs.c: In function 'fs_quota_get_resource':
quota-fs.c:208: error: 'struct dqblk' has no member named
'dqb_curblocks'
make[4]: *** [quota-fs.lo] Error 1
make[4]: Leaving directory
`/usr/local/src/dovecot/cvs/dovecot/src/plugins/quota'
2005 Dec 22
1
dovecot -CVS and epoll and cvs not building
.../lib-storage
-std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast
-I/usr/kerberos/include -MT quota-fs.lo -MD -MP -MF .deps/quota-fs.Tpo -c
quota-fs.c -fPIC -DPIC -o .libs/quota-fs.o
quota-fs.c: In function 'fs_quota_get_resource':
quota-fs.c:208: error: 'struct dqblk' has no member named 'dqb_curblocks'
make[1]: *** [quota-fs.lo] Error 1
reuben
2006 Aug 07
0
rc6 compilation problem?
.../
src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wall -W -Wmissing-
prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -
Wformat=2 -Wbad-function-cast -MT quota-fs.lo -MD -MP -MF .deps/quota-
fs.Tpo -c quota-fs.c -fno-common -DPIC -o .libs/quota-fs.o
quota-fs.c: In function ?fs_quota_get_resource?:
quota-fs.c:219: warning: passing argument 1 of ?quotactl? makes
pointer from integer without a cast
quota-fs.c:219: warning: passing argument 2 of ?quotactl? makes
integer from pointer without a cast
quota-fs.c:234: error: ?struct dqblk? has no member named
?dqb_curblocks?
make[4]: *** [quo...
2008 Oct 19
2
NFS quota: hard or soft
Yes. I could spend more time testing this myself or examining the code.
It looks to me that, with fs quota, dovecot refuses to store a mail
(e.g. when the client moves a mail from one IMAP folder to another)
if the user is beyond his soft limit.
Is this correct/intended? Knowing nothing about the IMAP Quota
extension, I would have expected that being in grace was OK. At
least, this is what
2006 Jun 20
1
Group-based filesystem quota
Hello. After using Dovecot for over a year, I have just started
experimenting with the filesystem quotas, and I have a suggestion for
improvement. On my mail server, I use group-based quotas, and would
like to have Dovecot be able to report these quotas.
It should be simple to implement, requiring only changes to the
quota-fs.c file of the quota plugin. Simply changing USRQUOTA to
2006 Jun 16
1
RHEL 3 and quota problems...
...sys/quota.h> for the linux quotas, it won't compile. (i tried this
instead of editing system header files directly) so I suspect the
problem lies deeper than just the _LINUX_QUOTA_VERSION number being set
incorrectly.
incidently, the error I get compiling is this:
quota-fs.c: In function `fs_quota_get_resource':
quota-fs.c:214: structure has no member named `dqb_curblocks'
make: *** [quota-fs.lo] Error 1
I haven't done any C programming in more than 20 years so I think I'm
pushing the boundaries of my capabilities here, but I'm hoping this
might just be enough information to help so...
2006 Aug 21
2
Filesystem Quota Enhancement Patch
...s(struct quota_root *root __attr_unused__)
{
const char *mail;
mail = getenv("MAIL");
static const char *resources[] = {
QUOTA_NAME_STORAGE,
NULL,
NULL
};
if (strstr(mail, "maildir") != NULL) {
resources[1] = QUOTA_NAME_MESSAGES;
}
return resources;
}
static int
fs_quota_get_resource(struct quota_root *_root, const char *name,
uint64_t *value_r, uint64_t *limit_r)
{
struct fs_quota_root *root = (struct fs_quota_root *)_root;
struct dqblk dqblk;
#ifdef HAVE_Q_QUOTACTL
struct quotctl ctl;
#endif
int value_r_t, limit_r_t, value_r_c=0, limit_r_c=0;
char args[] = {USRQ...
2006 Aug 12
3
Trying to compile again
I'm currently running a pre 1.0 version of dovecot. Months back I tried to
compile beta6, couldn't due to some mysql client libraries issues, and gave
up. I'm now trying again with rc6.
This is on a fedora core2 box, with postfix 2.3 and mysql 5.0. The error
I'm getting when I run make is below. Any help would be greatly
appreciated, thanks! I'd really like to get up to