summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-28 06:50:19 +0000
committerdd <dd@FreeBSD.org>2001-06-28 06:50:19 +0000
commit3f65223a56f4102e23fa117dbe09c8b34288694e (patch)
treec6bd605e59228d82afdc64885f02f4399c05b8a7 /lib/libc
parent3bd427d0e5ed3746d81bc0ce6f4a209243415b63 (diff)
downloadFreeBSD-src-3f65223a56f4102e23fa117dbe09c8b34288694e.zip
FreeBSD-src-3f65223a56f4102e23fa117dbe09c8b34288694e.tar.gz
Document the existing vfc_flags.
PR: 25837 Submitted by: Tony Finch <dot@dotat.at>
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getvfsbyname.35
-rw-r--r--lib/libc/gen/getvfsent.318
2 files changed, 20 insertions, 3 deletions
diff --git a/lib/libc/gen/getvfsbyname.3 b/lib/libc/gen/getvfsbyname.3
index dd59d8a..ebaf787 100644
--- a/lib/libc/gen/getvfsbyname.3
+++ b/lib/libc/gen/getvfsbyname.3
@@ -67,8 +67,8 @@ the filesystem type number assigned by the kernel
.It vfc_refcount
the number of active mount points using the filesystem
.It vfc_flags
-flag bits that are used to initialize a new mount point
-using the filesystem
+flag bits as described in
+.Xr getvfsent 3
.El
.Sh RETURN VALUES
.Rv -std getvfsbyname
@@ -86,6 +86,7 @@ specifies a filesystem that is unknown or not configured in the kernel.
.El
.Sh SEE ALSO
.Xr mount 2 ,
+.Xr getvfsent 3 ,
.Xr sysctl 3 ,
.Xr mount 8 ,
.Xr sysctl 8
diff --git a/lib/libc/gen/getvfsent.3 b/lib/libc/gen/getvfsent.3
index f70f32f..1d5ddde9 100644
--- a/lib/libc/gen/getvfsent.3
+++ b/lib/libc/gen/getvfsent.3
@@ -48,7 +48,23 @@ the number of references to this filesystem
(usually the number of mounts, but one greater for filesystems which
cannot be unloaded or which are statically linked into the kernel)
.It vfc_flags
-flag bits, of which none are currently defined
+flag bits
+.El
+.Pp
+The flags are defined as follows:
+.Bl -tag -width VFCF_SYNTHETIC
+.It Dv VFCF_STATIC
+statically compiled into kernel
+.It Dv VFCF_NETWORK
+may get data over the network
+.It Dv VFCF_READONLY
+writes are not implemented
+.It Dv VFCF_SYNTHETIC
+data does not represent real files
+.It Dv VFCF_LOOPBACK
+aliases some other mounted FS
+.It Dv VFCF_UNICODE
+stores file names as Unicode
.El
.Pp
The
OpenPOWER on IntegriCloud