summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-06-28 06:50:19 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-06-28 06:50:19 +0000
commit9a66daa5d4c3834b7fbe0c20bf94a346c5b02b91 (patch)
treec6bd605e59228d82afdc64885f02f4399c05b8a7 /lib/libc
parent0b725700c2d3d48fba505c93c456abdc61f75a5f (diff)
Notes
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 dd59d8a979ba..ebaf787d96ce 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 f70f32fb9c87..1d5ddde9da76 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