Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2025 00:31:12 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: b69399170b05 - stable/14 - statfs.2: document missing user-visible MNT flags
Message-ID:  <202502230031.51N0VCc5007724@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=b69399170b05ca6a1b20bf2da5bdd31b05f0ea11

commit b69399170b05ca6a1b20bf2da5bdd31b05f0ea11
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-02-20 15:11:13 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-02-23 00:30:51 +0000

    statfs.2: document missing user-visible MNT flags
    
    (cherry picked from commit e951247a983daf7814d06e9e49bdd503ceaa0b68)
---
 lib/libc/sys/statfs.2 | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2
index 762183188353..404a9a0053c1 100644
--- a/lib/libc/sys/statfs.2
+++ b/lib/libc/sys/statfs.2
@@ -100,6 +100,9 @@ The flags that may be returned include:
 Access Control List (ACL) support enabled.
 .It Dv MNT_ASYNC
 No file system I/O is done synchronously.
+.It Dv MNT_AUTOMOUNTED
+The filesystem was auto-mounted, see
+.Xr autofs 4 .
 .It Dv MNT_DEFEXPORTED
 The file system is exported for both reading and writing to any Internet host.
 .It Dv MNT_GJOURNAL
@@ -124,6 +127,8 @@ The file system resides locally.
 Mandatory Access Control (MAC) support for individual objects
 (see
 .Xr mac 4 ) .
+.It Dv MNT_NFS4ACLS
+ACLs in NFSv4 variant are supported.
 .It Dv MNT_NOATIME
 Updating of file access times is disabled.
 .It Dv MNT_NOCLUSTERR
@@ -141,6 +146,8 @@ Soft updates being done (see
 .Xr ffs 7 ) .
 .It Dv MNT_SUIDDIR
 Special handling of SUID bit on directories.
+.It Dv MNT_SUJ
+Soft-updates with journaling being done.
 .It Dv MNT_SYNCHRONOUS
 All I/O to the file system is done synchronously.
 .It Dv MNT_QUOTA
@@ -152,8 +159,19 @@ Even the super-user may not write on it.
 Identifies the root file system.
 .It Dv MNT_UNION
 Union with underlying file system.
+.It Dv MNT_UNTRUSTED
+The file system was mounted with the
+.Cm untrusted
+option, which indicates media of unknown provenance or integrity.
+Currently honored by
+.Xr ffs 7 .
 .It Dv MNT_USER
 The file system has been mounted by a user.
+.It Dv MNT_VERIFIED
+The file system is marked as verified, no fingerprint check on
+.Xr execve 2
+is needed, see
+.Xr mac_veriexec 4 .
 .El
 .Pp
 Fields that are undefined for a particular file system are set to -1.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502230031.51N0VCc5007724>