|
NAMEgetvfsbyname —
get information about a file system
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <sys/param.h>
#include <sys/mount.h>
int
DESCRIPTIONThegetvfsbyname () function provides access to
information about a file system module that is configured in the kernel. If
successful, the requested file system xvfsconf is
returned in the location pointed to by vfc. The fields
in a “struct xvfsconf ” are defined as
follows:
The flags are defined as follows:
RETURN VALUESThegetvfsbyname () function returns the value 0
if successful; otherwise the value -1 is returned and the global
variable errno is set to indicate the error.
ERRORSThe following errors may be reported:
SEE ALSOjail(2), mount(2), sysctl(3), jail(8), mount(8), sysctl(8)HISTORYA variant of thegetvfsbyname () function first appeared
in FreeBSD 2.0.
Visit the GSP FreeBSD Man Page Interface. |