EDQUOTA(8)
๐ EDQUOTA(8) ๐
okay so bestie, welcome to the edquota(8) page โ that's the System Manager's Manual one, and yes it's literally the quota editor. Buckle up, this one slaps. ๐
โจ NAME โจ
edquota โ edit user quotas ๐ธ
๐ฆ SYNOPSIS ๐ฆ
edquota [ -p protoname ] [ -u | -g | -P ] [ -rm ] [ -F format-name ] [ -f filesystem ] username | groupname | projectname...
edquota [ -u | -g | -P ] [ -F format-name ] [ -f filesystem ] -t
edquota [ -u | -g | -P ] [ -F format-name ] [ -f filesystem ] -T username | groupname | projectname...
๐ DESCRIPTION ๐
So edquota is a quota editor, periodt. You can drop one or more users, groups, or projects on the command line. And listen โ if you give a number instead of a user/group/project name, it gets treated as an UID/GID/Project ID. iykyk. ๐ซถ
For each user, group, or project it makes a temporary file with an ASCII representation of that user/group/project's current disk quotas, and then it invokes an editor on that file. Then you can modify the quotas, add new quotas, whatever you want. Setting a quota to zero means no quota should be imposed โ that's the vibe. โจ
Block usage and limits are reported and interpreted as multiples of kibibyte (1024 bytes) blocks by default. And the symbols K, M, G, and T can be appended to a numeric value to express kibibytes, mebibytes, gibibytes, and tebibytes. Cute, right? ๐
Inode usage and limits are interpreted literally though. The symbols k, m, g, and t can be appended to a numeric value to express multiples of 10^3, 10^6, 10^9, and 10^12 inodes. (lowercase vs uppercase, don't mix them up bestie, that's the whole plot twist ๐)
Users are permitted to exceed their soft limits for a grace period that may be specified per filesystem. Once the grace period has expired, the soft limit is enforced as a hard limit. ๐ญ
The current usage information in the file is for informational purposes โ only the hard and soft limits can be changed. Don't even try it. ๐
Upon leaving the editor, edquota reads the temporary file and modifies the binary quota files to reflect the changes made. That's the glow-up. โจ
The editor invoked is vi(1) unless either the EDITOR or the VISUAL environment variable specifies otherwise. ๐
Only the super-user may edit quotas. Sorry babe, that's the rule. ๐
๐ OPTIONS ๐
-r,--remoteโ Edit also non-local quota userpc.rquotadon remote server to set quota. This option is available only if quota tools were compiled with enabled support for setting quotas over RPC. The-noption is equivalent, and is maintained for backward compatibility. ๐-m,--no-mixed-pathnamesโ Currently, pathnames of NFSv4 mountpoints are sent without leading slash in the path.rpc.rquotaduses this to recognize NFSv4 mounts and properly prepend pseudoroot of NFS filesystem to the path. If you specify this option,edquotawill always send paths with a leading slash. This can be useful for legacy reasons but be aware that quota over RPC will stop working if you are using newrpc.rquotad. ๐-u,--userโ Edit the user quota. This is the default. ๐-g,--groupโ Edit the group quota. ๐ธ-P,--projectโ Edit the project quota. ๐ฆ-p,--prototype=protonameโ Duplicate the quotas of the prototypical user specified for each user specified. This is the normal mechanism used to initialize quotas for groups of users. ๐ฏ--always-resolveโ Always try to translate user / group name to uid / gid even if the name is composed of digits only. ๐-F,--format=format-nameโ Edit quota for specified format (ie. don't perform format autodetection). Possible format names are:vfsoldOriginal quota format with 16-bit UIDs / GIDs,vfsv0Quota format with 32-bit UIDs / GIDs, 64-bit space usage, 32-bit inode usage and limits,vfsv1Quota format with 64-bit quota limits and usage,rpc(quota over NFS),xfs(quota on XFS filesystem). โญ-f,--filesystem filesystemโ Perform specified operations only for given filesystem (default is to perform operations for all filesystems with quota). ๐ฏ-t,--edit-periodโ Edit the soft time limits for each filesystem. In old quota format if the time limits are zero, the default time limits in<linux/quota.h>are used. In new quota format time limits must be specified (there is no default value set in kernel). Time units of 'seconds', 'minutes', 'hours', and 'days' are understood. Time limits are printed in the greatest possible time unit such that the value is greater than or equal to one. โฐ-T,--edit-timesโ Edit time for the user/group/project when softlimit is enforced. Possible values are 'unset' or number and unit. Units are the same as in-toption. ๐ฐ๏ธ
๐ FILES ๐
aquota.useroraquota.groupโ quota file at the filesystem root (version 2 quota, non-XFS filesystems) ๐ธquota.userorquota.groupโ quota file at the filesystem root (version 1 quota, non-XFS filesystems) ๐ฆ/etc/mtabโ mounted filesystems table ๐
๐ SEE ALSO ๐
quota(1), vi(1), quotactl(2), quotacheck(8), quotaon(8), repquota(8), setquota(8)
and that's the whole page bestie, you ate that ๐ โจ
this was the EDQUOTA(8) page from the System Manager's Manual โ go forth and edit those quotas, you absolute icon ๐๐ซถ
๐ฆ where this page comes from
- alpine 3.24: quota-tools-doc 4.11-r0 ยท GPL-2.0-or-later
- centos-stream 10: quota 1:4.09-10.el10 ยท GPL-2.0-only AND GPL-2.0-or-later
- centos-stream 9: quota 1:4.09-4.el9 ยท GPLv2 and GPLv2+
- fedora 43: quota 1:4.10-2.fc43 ยท GPL-2.0-only AND GPL-2.0-or-later
- fedora 44: quota 1:4.11-2.fc44 ยท GPL-2.0-only AND GPL-2.0-or-later
- nixpkgs unstable: quota 4.11
- opensuse-leap 16.0: quota 4.09-160000.3.1 ยท GPL-2.0-only
- opensuse-leap 16.0: quota 4.09-160000.3.1 ยท GPL-2.0-only
- opensuse-leap 16.0: quota 4.09-160000.3.1 ยท GPL-2.0-only
- opensuse-leap 16.0: quota 4.09-160000.3.1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms