From: CSRG Date: Thu, 4 May 1995 00:08:26 +0000 (-0800) Subject: BSD 4_4_Lite2 development X-Git-Tag: BSD-4_4_Lite2~117 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/96c9686fe728bc644a9b4cee0e8b85b849435fe3?hp=a5b8b6a4cbbe8e4bd2f860744bc0ddae713374a4 BSD 4_4_Lite2 development Work on file usr/share/man/cat3/kvm_getvfsbyname.0 Synthesized-from: CSRG/cd3/4.4BSD-Lite2 --- 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