vfs_rootmountalloc(9)
allocate a root
SYNOPSIS
In sys/param.h
In sys/mount.h
Ft int
Fn vfs_rootmountalloc char *fstypename char *devname struct mount **mpp
DESCRIPTION
Fn vfs_rootmountalloc
allocates a
Vt mount
structure initialized from the
Vt vfsconf
type that matches
Fa fstypename .
RETURN VALUES
If successful, 0 is returned and
Fa mpp
points to the newly allocated
Vt mount
structure.
Er ENODEV
is returned if
Fa fstypename
is
NULL
or invalid.