quotaon(8)

quotaon8

Turn file system quotas on and off

Usage

quotaon [-g] [-u] [-v] filesystem ...

quotaon [-g] [-u] [-v] -a

quotaoff [-g] [-u] [-v] filesystem ...

quotaoff [-g] [-u] [-v] -a

Overview

The quotaon utility announces to the system that disk quotas should be enabled on one or more file systems. The quotaoff utility announces to the system that the specified file systems should have any disk quotas turned off. The file systems specified must have entries in /etc/fstab and be mounted. The quotaon utility expects each file system to have quota files named quota.user and quota.group which are located at the root of the associated file system. These defaults may be overridden in /etc/fstab. By default both user and group quotas are enabled.

Available options:

-a

If supplied in place of any file system names, quotaon/quotaoff will enable/disable all the file systems indicated in /etc/fstab to be read-write with disk quotas. By default only the types of quotas listed in /etc/fstab are enabled.

As -a, --all on Linux.
-g

Only group quotas listed in /etc/fstab should be enabled/disabled.

As -g, --group on Linux.
-u

Only user quotas listed in /etc/fstab should be enabled/disabled.

As -u, --user on Linux.
-v

Cause quotaon and quotaoff to print a message for each file system where quotas are turned on or off.

As -v, --verbose on Linux.

Specifying both -g and -u is equivalent to the default.

Files

quota.user

at the file system root with user quotas

quota.group

at the file system root with group quotas

/etc/fstab

file system table

Releases

87 releases since FreeBSD 2.0.5-RELEASE; the text changed 41 times.

  1. 2.0.5–2.2.2
  2. 2.2.5–3.5.1
  3. 4.0–4.2
  4. 4.3
  5. 4.4
  6. 4.5–4.7
  7. 4.8–4.11
  8. 5.0–5.2.1
  9. 5.3–6.3
  10. 6.4
  11. 7.0
  12. 7.1
  13. 7.2
  14. 7.3
  15. 7.4
  16. 8.0
  17. 8.1
  18. 8.2
  19. 8.3
  20. 8.4
  21. 9.0
  22. 9.1
  23. 9.2
  24. 9.3
  25. 10.0
  26. 10.1
  27. 10.2
  28. 10.3
  29. 10.4
  30. 11.0
  31. 11.1
  32. 11.2
  33. 11.3
  34. 11.4
  35. 12.0
  36. 12.1
  37. 12.2
  38. 12.3
  39. 12.4
  40. 13.0–13.2
  41. 13.3–14.5
  42. 15.0–16.0

History

The quotaon utility appeared in 4.2BSD.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.