OS Manuals

/usr/bin/setquota

linux disk quota system tools

From quota-tools 4.11-r3 (os), captured 2026-11-05 by running setquota --help (exit 1). permalink

setquota: Usage:
  setquota [-u|-g|-P] [-F quotaformat] <user|group|project>
	<block-softlimit> <block-hardlimit> <inode-softlimit> <inode-hardlimit> -a|<filesystem>...
  setquota [-u|-g|-P] [-F quotaformat] <-p protouser|protogroup|protoproject> <user|group|project> -a|<filesystem>...
  setquota [-u|-g|-P] [-F quotaformat] -b [-c] -a|<filesystem>...
  setquota [-u|-g|-P] [-F quotaformat] -t <blockgrace> <inodegrace> -a|<filesystem>...
  setquota [-u|-g|-P] [-F quotaformat] <user|group|project> -T <blockgrace> <inodegrace> -a|<filesystem>...

-u, --user                 set limits for user
-g, --group                set limits for group
-P, --project              set limits for project
-a, --all                  set limits for all filesystems
    --always-resolve       always try to resolve name, even if is
                           composed only of digits
-F, --format=formatname    operate on specific quota format
-p, --prototype=protoname  copy limits from user/group/project
-b, --batch                read limits from standard input
-c, --continue-batch       continue in input processing in case of an error
-t, --edit-period          edit grace period
-T, --edit-times           edit grace times for user/group/project
-h, --help                 display this help text and exit
-V, --version              display version information and exit

Bugs to: jack@suse.cz
Options (15)
OptionDescriptionSource
-u, --userSet user quotas for named user.help + man
-g, --groupSet group quotas for named group.help + man
-P, --projectSet project quotas for named project.help + man
-a, --allGo through all filesystems with quota in /etc/mtab and perform setting.help + man
--always-resolveAlways try to translate user / group / project name to uid / gid / project ID even if the name is composed of digits only.help + man
-F, --format formatnamePerform setting for specified format (ie.help + man
-p, --prototype protonameUse quota settings of user, group or project protoname to set the quota for the named user, group or project.help + man
-b, --batchRead information to set from stdin (input format is name block-softlimit block-hardlimit inode-softlimit inode-hardlimit ).help + man
-c, --continue-batchIf parsing of an input line in batch mode fails, continue with processing the next line.help + man
-t, --edit-periodSet grace times for users/groups/projects.help + man
-T, --edit-timesAlter times for individual user/group/project when softlimit is enforced.help + man
-h, --helpdisplay this help text and exithelp
-V, --versiondisplay version information and exithelp
-r, --remoteEdit also remote quota use rpc.rquotad on remote server to set quota. (in the manual page but not in --help)man
-m, --no-mixed-pathnamesCurrently, pathnames of NFSv4 mountpoints are sent without leading slash in the path. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.