aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2025-11-14 14:28:52 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2025-11-14 14:29:05 +0000
commit2f3adab9d512faec3e1891e505d1888db5d0240e (patch)
tree87d088f4f27513a200d1e9fac081c1af73a08539
parentfa272a5276865a97b01823fe6546940eaaf1b164 (diff)
quot: Improve manual page
* Rewrite the first paragraph to clarify that quot(8) only supports FFS. * Document which options can or cannot be combined with each other. MFC after: 1 week Reviewed by: ziaee Differential Revision: https://reviews.freebsd.org/D53727
-rw-r--r--usr.sbin/quot/quot.821
1 files changed, 20 insertions, 1 deletions
diff --git a/usr.sbin/quot/quot.8 b/usr.sbin/quot/quot.8
index 69c0a2d84b9b..b4b40bf395e9 100644
--- a/usr.sbin/quot/quot.8
+++ b/usr.sbin/quot/quot.8
@@ -41,7 +41,9 @@
The
.Nm
utility
-is used to gather statistics about the disk usage for each local user.
+is used to gather per-user disk usage statistics from
+.Xr ffs 7
+file systems.
.Pp
The following options are available:
.Bl -tag -width indent
@@ -51,8 +53,16 @@ Include statistics for all mounted file systems.
Display three columns containing number of blocks per file,
number of files in this category, and aggregate total of
blocks in files with this or lower size.
+This option is mutually exclusive with the
+.Fl n
+option.
.It Fl f
For each user, display count of files and space occupied.
+This option has no effect if combined with the
+.Fl c
+or
+.Fl n
+options.
.It Fl k
Force the numbers to be reported in kilobyte counts.
By default, all sizes are reported in 512-byte block counts.
@@ -69,9 +79,17 @@ ls -i | sed -e 's,^ *,,' | sort -k 1n | quot -n filesystem
.Ed
.Pp
to get a report of files and their owners.
+This option is mutually exclusive with the
+.Fl c
+option.
.It Fl v
In addition to the default output, display the number of files
not accessed within 30, 60 and 90 days.
+This option has no effect if combined with the
+.Fl c
+or
+.Fl n
+options.
.El
.Sh ENVIRONMENT
.Bl -tag -width BLOCKSIZE
@@ -88,6 +106,7 @@ size block.
.Xr quota 1 ,
.Xr getmntinfo 3 ,
.Xr fstab 5 ,
+.Xr ffs 7 ,
.Xr mount 8
.Sh HISTORY
This implementation of