QUOTA

Hey all,

I'm running slakware 3.1 and kernel version 2.0.25.  I installed quota support when i installed the kernel and now I want to know how to use it :) I need to know the format of the quota.user file..  I think that is all I need..


Thankyou
Andrew
LVL 1
Q010797Asked:
Who is Participating?
 
q011097Connect With a Mentor Commented:
In order to enable quotas on your machine, you will need to:

1) add 'usrquota' or 'grpquota' as a mount option to the filesystem.

If you do not specifiy otherwise (with usrquote=/etc/userquotas) then the quota data file will be located in the directory of the mounted file system closest to the root directory. caution there are limits to line length in fstab. The fault file names are quota.user and quota.group

from time to time, especially after any dirty remounts, you should run 'quotacheck -avug' to ensure the quota information is up to date.

2) You'll need to run quotaon -avug to actually enable the quotas. This should be added to your /etc/rc files.

3) editing the quota files. You shoudl eb able to  use the edquota command to edit the quota files.

All this assumed that the version of quota you are using on slackware is the same as that used in Debian. If it is not, I suggest you install the debian one. Debian packages tend to be a great deal more reliable.

You will need the quotatools package which should be included somewhere with slackware if you do not already have it installed.




0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.