repquota(8)

repquota8

Summarize quotas for a file system

Usage

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

repquota [-g] [-u] [-v] -a

Overview

Repquota prints a summary of the disk usage and quotas for the specified file systems.

Available options:

-a

Print the quotas of all the filesystems configured with a quota mount option file at its root.

-g

Print only group quotas (the default is to print both group and user quotas if they exist).

-u

Print only user quotas (the default is to print both group and user quotas if they exist).

-v

Print a header line before printing each filesystem quotas.

For each user or group, the current number of files and amount of space (in kilobytes) is printed, along with any quotas created with edquota(8).

Only members of the operator group or the super-user may use this command.

Files

Each of the following quota files is located at the root of the mounted filesystem. The mount option files are empty files whose existence indicates that quotas are to be enabled for that filesystem.

.quota.user

data file containing user quotas

.quota.group

data file containing group quotas

.quota.ops.user

mount option file used to enable user quotas

.quota.ops.group

mount option file used to enable group quotas

Diagnostics

Various messages about inaccessible files; self-explanatory.

Releases

163 releases since Mac OS X 10.0; the text changed 2 times.

  1. 10.0–10.0.4
  2. 10.1–10.1.5
  3. 10.2–26.5

History

The repquota command appeared in 4.2BSD.

From diskdev_cmds 757 in macOS 26.5. Parsed by carta from the page's mdoc source.