6.0.0-alpha12
6/12/25

[#8489] Quota problems - imp/lib/Quota/command.php - safemode - xfs - longlines
Summary Quota problems - imp/lib/Quota/command.php - safemode - xfs - longlines
Queue Horde Groupware Webmail Edition
Queue Version 1.2.3
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester horde (at) smartsector (dot) hu
Created 08/11/2009 (5784 days ago)
Due
Updated 09/01/2009 (5763 days ago)
Assigned
Resolved 09/01/2009 (5763 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/01/2009 10:00:51 AM Jan Schneider State ⇒ Not A Bug
 
08/12/2009 09:50:17 AM Jan Schneider Comment #2 Reply to this comment
3. "function blockSize" work wrong on XFS filesystem
Becasue XFS use variable block sizes.
There's not much we can do about this.
08/11/2009 05:32:32 PM horde (at) smartsector (dot) hu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Quota problems - imp/lib/Quota/command.php - safemode - xfs - longlines
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
Reply to this comment
We find some problems in the

imp/lib/Quota/command.php



I make only one ticket i hope it's ok.



1. "quota" linux command need a flag

-w, --no-wrap             do not wrap long lines

because if the partition name is long then without the -w flag the 
system wrap the lines and the grep will give wrong result.



2. In safe mode all piped commands are prohibited so "qouta .... | 
grep...." is not working.

We use just quota command and "grep" in a php loop.



3. "function blockSize" work wrong on XFS filesystem

Becasue XFS use variable block sizes.


Saved Queries