Provided by: freebsd-manpages_10.1~RC1-1_all
vfs_rootmountalloc — allocate a root mount structure
#include <sys/param.h> #include <sys/mount.h> int vfs_rootmountalloc(char *fstypename, char *devname, struct mount **mpp);
vfs_rootmountalloc() allocates a mount structure initialized from the vfsconf type that matches fstypename.
If successful, 0 is returned and mpp points to the newly allocated mount structure. ENODEV is returned if fstypename is NULL or invalid.
This manual page was written by Chad David <email@example.com>.