All about the quota command from Slackware package set **a**
`
# enable quota in /etc/fstab
# for example:
# /dev/sda1 / ext4 defaults,usrquota 0 2
#
# then remount the partition:
% whoami
% root
% mount -o remount /
# create quota index:
% quotacheck --user --create-files --no-remount
# if it fails with
## cannot stat() /dev/root
# then this is a workaround:
% ln -s /dev/sda1 /dev/root
# now turn quota on:
% quotaon /
# set quota amounts with
% setquota --help
# or
% EDITOR=emacs edquota klaatu
`
shasum -a256=0f7323e0573160167e58c75ace6382953dd1bb0ef1ab0e94ab73447f84af8ec3
view more