/etc/rc.d/rc.M
⇒ Slackware-Mini-Quota-HOWTO/usr/doc/Linux-HOWTOs/Quota
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>
grpquota
not tested yet