search for: fs_quota_mountpoint

Displaying 2 results from an estimated 2 matches for "fs_quota_mountpoint".

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 Aug 21
2
Filesystem Quota Enhancement Patch
...d be nice to have this merged with the main distribution. Scott Alter -------------- next part -------------- --- quota-fs.c.orig 2006-08-10 18:01:42.000000000 -0400 +++ quota-fs.c 2006-08-21 19:33:38.000000000 -0400 @@ -53,6 +53,7 @@ struct quota_root root; uid_t uid; + gid_t gid; struct fs_quota_mountpoint *mount; }; @@ -73,6 +74,7 @@ root->root.name = i_strdup(name); root->root.v = quota_backend_fs.v; root->uid = geteuid(); + root->gid = getegid(); return &root->root; } @@ -177,7 +179,16 @@ static const char *const * fs_quota_root_get_resources(struct quota_root *r...