Quota

Documentation

  1. /etc/rc.d/rc.M ⇒ Slackware-Mini-Quota-HOWTO
  2. /usr/doc/Linux-HOWTOs/Quota
  3. man edquota

Setup Digest

Quotas are per FS-mount.

Add usrquota and/or grpquota to the mounts which shall be quata-controlled:

# diff /etc/fstab.sborg /etc/fstab
4c4
< /dev/sda4        /home            ext4        defaults         1   2
---
> /dev/sda4        /home            ext4        defaults,usrquota         1   2

Create necessary files:

  touch /home/aquota.user /home/aquota.group
  chmod 600 /home/aquota.user /home/aquota.group

Then, reboot (needs some time) to activate the quota system.

Finally use edquota to set the limits:

edquota -u <username>

FIXME grpquota not tested yet