Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2001 04:54:06 +0000
From:      Tony Finch <dot@dotat.at>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/25837: [PATCH] properly document vfc_flags in getvfsent(3)
Message-ID:  <E14dPm2-0000au-00@hand.dotat.at>

next in thread | raw e-mail | index | archive | help

>Number:         25837
>Category:       bin
>Synopsis:       [PATCH] properly document vfc_flags in getvfsent(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 11:20:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tony Finch <dot@dotat.at>
>Release:        FreeBSD 4.3-BETA i386
>Organization:
Covalent Technologies, Inc.
>Environment:
System: FreeBSD hand.dotat.at 4.3-BETA FreeBSD 4.3-BETA #5: Thu Mar 15 02:42:59 GMT 2001 fanf@hand.dotat.at:/FreeBSD/releng4/sys/compile/DELL-Latitude-CSx i386
>Description:
The getvfsent(3) manual page incorrectly says that there are no defined
valies for vfc_flags
>How-To-Repeat:
>Fix:

Index: getvfsbyname.3
===================================================================
RCS file: /home/ncvs/src/lib/libc/gen/getvfsbyname.3,v
retrieving revision 1.7.2.3
diff -u -r1.7.2.3 getvfsbyname.3
--- getvfsbyname.3	2000/12/29 14:44:44	1.7.2.3
+++ getvfsbyname.3	2001/03/15 04:50:56
@@ -67,8 +67,8 @@
 .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
@@ -85,6 +85,7 @@
 specifies a filesystem that is unknown or not configured in the kernel.
 .El
 .Sh SEE ALSO
+.Xr getvfsent 3 ,
 .Xr mount 2 ,
 .Xr sysctl 3 ,
 .Xr mount 8 ,
Index: getvfsent.3
===================================================================
RCS file: /home/ncvs/src/lib/libc/gen/getvfsent.3,v
retrieving revision 1.17.2.3
diff -u -r1.17.2.3 getvfsent.3
--- getvfsent.3	2001/03/06 16:45:54	1.17.2.3
+++ getvfsent.3	2001/03/15 04:46:26
@@ -48,7 +48,23 @@
 (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 VFCF_STATIC
+statically compiled into kernel
+.It VFCF_NETWORK
+may get data over the network
+.It VFCF_READONLY
+writes are not implemented
+.It VFCF_SYNTHETIC
+data does not represent real files
+.It VFCF_LOOPBACK
+aliases some other mounted FS
+.It VFCF_UNICODE
+stores file names as Unicode
 .El
 .Pp
 The
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E14dPm2-0000au-00>