8 Jul
2010
8 Jul
'10
3:49 p.m.
On Thu, 2010-07-08 at 12:08 +0200, Juergen Obermann wrote:
quota = fs:Home-Verzeichnis:noenforcing quota2 = fs:INBOX:noenforcing:mount=/var/mail
This second quota did not work, but now I found the reason why. The mountpoint_get in src/lib/mountpoint.c needs to call resetmnttab to find the filesystem for the second quota root (see man resetmnttab).
I thought the resetmnttab() is really only useful when the mounts change.. But anyway, committed the patch to v2.0 and v1.2.
The following patches correct this and also adds some debugging code to src/plugins/quota/quota-fs.c to show the processing of quota2.
Committed a bit different version of the patch to v2.0.