From nobody Tue Jan 16 04:38:46 2024 X-Original-To: dev-commits-src-all@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 4TDbqp2myNz56fnl; Tue, 16 Jan 2024 04:38:46 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TDbqp2DlBz4qWd; Tue, 16 Jan 2024 04:38:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705379926; 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=hVO9fhTq0Prq9VV5sOZSH8XnQTyEddetAgRnbXKreJw=; b=Ttclkfueh5z5SUCHfbtdLBw62t14BdtWgeaT4tMvCeYnwsdMJrIIMZkdg8xZfEhtNelcMc 4qvBnLQ7r/mbcQdc9vZrjHmsX0FW/YIIFg4GV0ZRxW91fV/LlpNiiz8A0x+AIKct+k2N01 3LSJtZPJuE/sF6GlmJbw8DhNbHK14cFkUHu0LO7rwOhsmphOdflciBLetK6Gd/9VpQVjmE t3XlIjCzgfqMkoUOm7YCg+jncJpmanULZA2xK6HKfkhqcidipdB+tQMF9bKDgDa4CgAU3X RvkXRlfk+Ch4doIYB0gNzX5wwXIBxV1LqfQ5N8794FfnWXqLhvqwRDbk1EMaww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705379926; 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=hVO9fhTq0Prq9VV5sOZSH8XnQTyEddetAgRnbXKreJw=; b=PFQh/21qrKoGQJ9hlZNSmQ/5dcsbxDm0OTKGscVOgoOPkymF6e6Z63dHEWkUW0cmzgIWPS 48BvDa9A+bPRMJs1h8fxYBTJREJrobJD7ZhoXpkny8eJufy591t4AqSnCBJKgTUPpKeeLs GZK/ms/vzEYizje3Ceb/eUYBVcWjzuRqFHPD6c2iHGesxixAZ1k9Jy9EilJRdHRE4TmF/L klb5rxlifZV5i4zeOUyEF0/zmjQwnBxAPBoO6j/rdVxi2maCEovWsXVL/XIdiesCB+03uC kjFCK/rmknzu6/17F3QxVpH6bJYTFqHVI8n5CuCnkXtUDX/TjnssuNaKJD1HXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705379926; a=rsa-sha256; cv=none; b=RTTJ16kr4CesNZkztzD71qEumWuloL0szJ37m8DUAL/pO3LAxOZe3FGrtuzbXqNJKII05z 83GMDas4SGEwbYgSQApnb9vM6S3PljVGXFy7tV223hUIZg/ZZEToU4nxyzrb0rzSicxERp rZROcuE6xybrEVw2/hxoIBrQnHbUaTP1x7tSFPKLEccPAjTh6Z0BJEhq6URedmxbXqegUh 4z0ctqmixbgIKLdBLRPDrSqepq8Jrym+ULX4yEQZDm6Dh7SpPeCNW+rWMLfdCvvOq58ccU ubnxmmTriE6cPtDTz2MojUOidF2Ej3gKQab3LtkvlLzMoZGo9IsYPEjlzYHnDg== 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 4TDbqp19cpzQdQ; Tue, 16 Jan 2024 04:38:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40G4ck1V042545; Tue, 16 Jan 2024 04:38:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40G4ckqb042542; Tue, 16 Jan 2024 04:38:46 GMT (envelope-from git) Date: Tue, 16 Jan 2024 04:38:46 GMT Message-Id: <202401160438.40G4ckqb042542@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 393f2dca362a - main - mount: Add a note that userquota and groupquota aren't printed with -p List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 393f2dca362a4f32f852e95f84bb3bb4a40ea3b5 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=393f2dca362a4f32f852e95f84bb3bb4a40ea3b5 commit 393f2dca362a4f32f852e95f84bb3bb4a40ea3b5 Author: Warner Losh AuthorDate: 2024-01-15 17:55:32 +0000 Commit: Warner Losh CommitDate: 2024-01-16 04:38:26 +0000 mount: Add a note that userquota and groupquota aren't printed with -p The quota options are pseudo options and not passed to the mount system call when a filesystem is mounted. They are not part of the info returned from getmntinfo(3), so can't be printed. Add a note to this effect. --- sbin/mount/mount.8 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8 index fbca8aef9999..883e0bb5caf0 100644 --- a/sbin/mount/mount.8 +++ b/sbin/mount/mount.8 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd October 4, 2023 +.Dd January 15, 2024 .Dt MOUNT 8 .Os .Sh NAME @@ -559,6 +559,7 @@ support for a particular file system might be provided either on a static .Xr setfacl 1 , .Xr nmount 2 , .Xr acl 3 , +.Xr getmntinfo 3 , .Xr libxo 3 , .Xr xo_parse_args 3 , .Xr mac 4 , @@ -579,6 +580,7 @@ support for a particular file system might be provided either on a static .Xr mount_smbfs 8 , .Xr mount_udf 8 , .Xr mount_unionfs 8 , +.Xr quotacheck 8 , .Xr umount 8 , .Xr zfs 8 , .Xr zpool 8 @@ -611,3 +613,17 @@ only when the file system is mounted via .Nm . .Sh BUGS It is possible for a corrupted file system to cause a crash. +.Pp +The +.Fl p +option will not list +.Cm userquota +or +.Cm groupquota +items from +.Xr fstab 5 +because they are not true mount options and are not information returned by +.Xr getmntinfo 3 . +At boot +.Xr quotacheck 8 , +processes these items.