git: 393f2dca362a - main - mount: Add a note that userquota and groupquota aren't printed with -p
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Jan 2024 04:38:46 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=393f2dca362a4f32f852e95f84bb3bb4a40ea3b5
commit 393f2dca362a4f32f852e95f84bb3bb4a40ea3b5
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-01-15 17:55:32 +0000
Commit: Warner Losh <imp@FreeBSD.org>
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.