On Mon, 19 Nov 2001, Nat B. wrote:

> Kevin,
> 
> I've executed those steps. There's something I'm not quite understanding 
> here:
> when I execute "edquota -g mailusers" i get:
> Edit block and inode quota for group mailusers:
> Device /dev/sdb1 (/):
> Used 0KB, limits: soft=0 hard=0
> Used 0 inodes, limits: soft=0 hard=0
> 
> I want each user of "mailusers" group to be able to use 3Megs on /dev/sdb1. 
> That means i want to set a soft quota = 3000
> Once I modified only soft=3000, I tried to fill the mailbox of a user with 
> more than 3Megs. Nothing happened. the file grew to 4Megs with no problem. 
> Seems I missed something here. Please help.

>From "man edquota"

Usage:  edquota [ -ug ] [ -F format-name ] -t

       -t     Edit  the soft time limits for each filesystem.  In
              old quota format if the time limits are  zero,  the
              default time limits in <linux/quota.h> are used. In
              new quota format  time  limits  must  be  specified
              (there  is  no  default  value set in kernel). Time
              units of seconds, minutes, hours, days, weeks,  and
              months  are  understood. Time limits are printed in
              the greatest possible time unit such that the value
              is greater than or equal to one.

My suggestion to you, instead, is to get hold of Webmin, located at 
http://www.webmin.com.  The quota control in Webmin gives you an easy 
interface to time, space and inode control for quotas.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to