vfs_rootmountalloc(9)

vfs_rootmountalloc9

Allocate a root mount structure

Usage

#include <sys/param.h>

#include <sys/mount.h>

int

vfs_rootmountalloc(char *fstypename, char *devname, struct mount **mpp);

Overview

vfs_rootmountalloc() allocates a mount structure initialized from the vfsconf type that matches fstypename.

Return values

If successful, 0 is returned and mpp points to the newly allocated mount structure. ENODEV is returned if fstypename is NULL or invalid.

Authors

This manual page was written by Chad David ⟨[email protected]⟩.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.