Name
setquota
Synopsis
setquota [options
] [name
] [limits
]filesystems
System administration command. Set quotas from the command line. Provide limits in the format soft-block-limit hard-block-limit soft-inode-limit hard-inode-limit. To disable a quota, set it to 0. See also edquota, a vi editor interface for editing and setting quotas.
Options
- -a, --all
Apply settings to all filesystems listed in /etc/mtab that support quotas.
- -b, --batch
Read new settings from standard input. Provide as a list, each line in the form of “name limits.”
- -F format, --format=format
Specify filesystem quota format to use. See quota for a list of accepted values.
- -g, --group
Set group quotas instead of users.
- -p prototype, --prototype=prototype
Apply the same settings as used for the specified user or group: prototype.
- -t blockgrace inodegrace, --edit_period blockgrace inodegrace
Specify overall grace times in seconds for block and inode quotas.
- -T name blockgrace inodegrace, --edit-times name blockgrace inodegrace
Specify grace times in seconds for individual user or group name. Use the string unset to remove existing grace times.
- -u, --user
Set user quotas. (This is the default.)
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.