6.0.0-alpha12
6/12/25

[#2892] quota command driver cannot find the proper partition
Summary quota command driver cannot find the proper partition
Queue IMP
Queue Version 4.0.4
Type Bug
State Resolved
Priority 2. Medium
Owners Horde Developers (at)
Requester mrness (at) technosoft (dot) ro
Created 10/31/2005 (7164 days ago)
Due
Updated 01/19/2006 (7084 days ago)
Assigned 11/28/2005 (7136 days ago)
Resolved 01/19/2006 (7084 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/19/2006 03:21:41 AM Michael Slusarz Comment #6
State ⇒ Resolved
Reply to this comment
Implemented in HEAD and 4.1.0.
11/28/2005 03:02:49 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
10/31/2005 10:04:27 AM mrness (at) technosoft (dot) ro Comment #5
New Attachment: quota-with-parameterized-partition[1].patch Download
Reply to this comment
And the original version give you that? Just try to run quota with any 
parameters you would like. You'll see that first column is the 
partition device, not mount point  nor the entry in /etc/quotatabs.



But be it your way. This patch leave the old functionality intact, as 
long as mailboxes_partition is empty or undefined.
10/31/2005 09:33:42 AM Jan Schneider Comment #4 Reply to this comment
Read my comment again. Large installations don't have all home 
directories on the same partition necessarily.
10/31/2005 09:22:49 AM mrness (at) technosoft (dot) ro Comment #3 Reply to this comment
?!? All you need to do is configure command driver properly in servers.php:

      'quota' => array(

        'driver' => 'command',

        'params' => array(

           'quota_path' => '/usr/bin/sudo /usr/bin/quota',

           'grep_path'  => '/bin/grep',

           'mailboxes_partition'  => '/dev/hdb2'

           )

       )




10/31/2005 09:09:38 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
I never used this quota driver, so I don't know how exactly it is 
supposed to work, but your patch removes the ability to have users' 
homes on different partitions.
10/31/2005 08:27:57 AM mrness (at) technosoft (dot) ro Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ quota command driver cannot find the proper partition
Queue ⇒ IMP
New Attachment: quota-with-parameterized-partition.patch Download
State ⇒ Unconfirmed
Reply to this comment
This patch adds a new parameter to command quota driver called 
mailboxes_partition.

I don't know how the original developer of this module made it work 
because quota utility displays partition device names, not their 
mountpoint.

Saved Queries