Quotas on AIX
Heinrich Mislik
Heinrich.Mislik at univie.ac.at
Tue Sep 11 15:45:32 GMT 2007
Hi,
I contributed a patch for AIX 5.3 quotas on jfs2. There is an error
in this patch. Since D.dqb_curfiles and D.dqb_fsoftlimit do not get
any values but are compared later on, it sometimes happens, that
freespace of 0 is reported.
Here is a patch against 3.0.25b to correct this:
*** quotas.c.orig Tue Sep 11 17:23:57 2007
--- quotas.c Tue Sep 11 17:23:57 2007
***************
*** 1225,1230 ****
--- 1225,1233 ----
D.dqb_curblocks = user_quota.bused;
D.dqb_bsoftlimit = user_quota.bsoft;
D.dqb_bhardlimit = user_quota.bhard;
+ D.dqb_curfiles = user_quota.iused;
+ D.dqb_fsoftlimit = user_quota.isoft;
+ D.dqb_fhardlimit = user_quota.ihard;
}
else if(statbuf.f_vfstype == MNT_JFS)
{
Please apply.
Thanks
Heinrich Mislik
--
Heinrich Mislik
Zentraler Informatikdienst der Universitaet Wien
A-1010 Wien, Universitaetsstrasse 7
Tel.: (+43 1) 4277-14056, Fax: (+43 1) 4277-9140
More information about the samba-technical
mailing list