From nobody Fri Nov 14 14:29:09 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4d7KJk6ZfQz6GWLv; Fri, 14 Nov 2025 14:29:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d7KJj69Xgz3Qkm; Fri, 14 Nov 2025 14:29:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763130549; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FoKgJqg9JlEP46jSlDQfVXP5gzk1HKoW1c9MJlsaWa8=; b=FVtQQ0iKD4xO8Ea7MqXzhWl4OiQ83snrdWNPHuVz1IcUcLnjDDbEPeg0jfih2+JO9JRK6n kSS1RqtOkgseJAhJqVuhLDZYe067aEa/8XS2kJ3FEJunDhxTvZbHgpRF8c3pfYfdWO5KCZ d3seV1lfhYjeH2bRJxRqvYj8n+5J2BCjCV5+RXw3YaEOvlmZ09Sg0QdDLnyNSPrkfXECgS 4QU6RATEILnziCixs1WQk+SAWalLWvMqFEJRlvV7vbqEPdKHeKdye+Bp7und0Ezgq5gxWJ AyYqPt7hG8r+GtJFhG3LFaepIs1Vk6ZNh0cmHlawm1oqy7kkm4mgA3EBdc3B1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763130549; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FoKgJqg9JlEP46jSlDQfVXP5gzk1HKoW1c9MJlsaWa8=; b=wc+4wlK8FzR2fFEGN7Q7vonp/BqKmDrUhxb9DL6MCvwDxUnxO4x5OsvwEIzOQn50snrMrk LrHJwfFZL/m43EnFfy2mTH3OX0UM7OXLQL0T3LBmO9rh9iOVDTnKPO0cJJtl6nyCBQ3X2y 6idyo5sRWqUAYopybSwuqI91uKn6cDLdUhy5mBtNbt9vHZkkABmhLgL/J4JlxzEPDnlV7H XBKhwH60tqHEDLa6KmRA1pA16S3WvXjTuCo3k6DCr3bwfWqxhCXlkZNbXhD+rzUUziDJTv IlyPJxuZsbE/0yShM6oq+0caRhRMxnt2s90KNoZbC4MimBQflAb8400EvsrksA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763130549; a=rsa-sha256; cv=none; b=X2Jl+dt3Md7EbSIx6iSXZX9aO5ST2RQgg8L7hVFs/7uX7IXEODeTinaxQIfbU7X/8S2TYP 3kVMuVBnAw0kgLoVcqTnYaO/fzNKZH62vy+KZ/VcVaXpVFqtBt3S3s3VFXL+sqTl2OhH9n a3h2VqjPsR5rvvUVWM2sZFU9UPW8H48uPGXHgJnyt99VXROcBxEeapM6fs+jKmO+HEWMeH f2lBEdmOyDXWXI1Nu9vlYAyMTsphFNWMqZqDiQueTGI5cvs7zpASSa+veccFP04Uo+4bDw Y7L9hf0x2TSPQXeiHveFol2H5YSJ51EH75K0+Z2oCbhIJy9lCjs+atlIPInULw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4d7KJj5ggxz19DG; Fri, 14 Nov 2025 14:29:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5AEET9LW039085; Fri, 14 Nov 2025 14:29:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5AEET9iw039082; Fri, 14 Nov 2025 14:29:09 GMT (envelope-from git) Date: Fri, 14 Nov 2025 14:29:09 GMT Message-Id: <202511141429.5AEET9iw039082@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: 2f3adab9d512 - main - quot: Improve manual page List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2f3adab9d512faec3e1891e505d1888db5d0240e Auto-Submitted: auto-generated The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=2f3adab9d512faec3e1891e505d1888db5d0240e commit 2f3adab9d512faec3e1891e505d1888db5d0240e Author: Dag-Erling Smørgrav AuthorDate: 2025-11-14 14:28:52 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2025-11-14 14:29:05 +0000 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 --- usr.sbin/quot/quot.8 | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) 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