Hi Jürgen,

the used blocks+inodes are now formatted with an extra function.

https://raw.githubusercontent.com/LDAPAccountManager/lam/develop/lam/lib/modules/quota.inc

This keeps the values that are editable and shows a more readable usage value.


Best regards

Roland


Am 14.06.20 um 17:09 schrieb Roland Gruber:
> Hi Jürgen,
> 
> you are fully right, now I got your point. I will come up with some
> rounding for the usage numbers.
> 
> Best regards
> 
> Roland
> 
> 
> 
> Am 14.06.20 um 08:50 schrieb Juergen Holm:
>> Hi Roland,
>>
>> I also prefer numbers dividable by 1024 for hard/soft limits. But the
>> chance that current block usage is dividable by 1024 is nearly 0.
>>
>> So, the main reason for my proposal is a readable block usage number.
>>   $singleQuota[1] = $this->addBlockUnits($singleQuota[1]);
>>
>>
>>
>> _______________________________________________
>> Lam-public mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/lam-public
>>
> 
> 
> _______________________________________________
> Lam-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lam-public
> 


_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to