From 96c9686fe728bc644a9b4cee0e8b85b849435fe3 Mon Sep 17 00:00:00 2001 From: CSRG Date: Wed, 3 May 1995 16:08:26 -0800 Subject: [PATCH] BSD 4_4_Lite2 development Work on file usr/share/man/cat3/kvm_getvfsbyname.0 Synthesized-from: CSRG/cd3/4.4BSD-Lite2 --- usr/share/man/cat3/kvm_getvfsbyname.0 | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 usr/share/man/cat3/kvm_getvfsbyname.0 diff --git a/usr/share/man/cat3/kvm_getvfsbyname.0 b/usr/share/man/cat3/kvm_getvfsbyname.0 new file mode 100644 index 0000000000..3f17447630 --- /dev/null +++ b/usr/share/man/cat3/kvm_getvfsbyname.0 @@ -0,0 +1,44 @@ +KVM_GETVFSBYNAME(3) BSD Programmer's Manual KVM_GETVFSBYNAME(3) + +NNAAMMEE + kkvvmm__ggeettvvffssbbyynnaammee - get information about a filesystem + +SSYYNNOOPPSSIISS + ##iinncclluuddee <> + ##iinncclluuddee <> + ##iinncclluuddee <> + + _i_n_t + kkvvmm__ggeettvvffssbbyynnaammee(_c_o_n_s_t _c_h_a_r _*_n_a_m_e, _s_t_r_u_c_t _v_f_s_c_o_n_f _*_v_f_c); + +DDEESSCCRRIIPPTTIIOONN + The kkvvmm__ggeettvvffssbbyynnaammee() function provides access to information about a + filesystem module that is configured in the kernel. If successful, the + requested filesystem _v_f_s_c_o_n_f is returned in the location pointed to by + vvffcc. The fields in a ``struct vfsconf'' are defined as follows: + + vfc_name the name of the filesystem + vfc_index the filesystem type number assigned by the kernel + vfc_refcount the number of active mount points using the filesystem + vfc_flags flag bits that are used to initialize a new mount point us- + ing the filesystem + +RREETTUURRNN VVAALLUUEESS + If the call to ggeettvvffssbbyynnaammee is successful, 0 is returned. Otherwise -1 + is returned and _e_r_r_n_o is set appropriately. + +EERRRROORRSS + The following errors may be reported: + + [EFAULT] The _v_f_c pointer contains an invalid address. + + [ENOENT] The _n_a_m_e specifies a filesystem that is unknown or not con- + figured in the kernel. + +SSEEEE AALLSSOO + sysctl(1), mount(2), sysctl(3), mount(8) + +HHIISSTTOORRYY + A variant of the ggeettvvffssbbyynnaammee() function first appeared in FreeBSD 2.0. + +4.4BSD April 3, 1995 1 -- 2.20.1