VND(4)

NAME
vnd - Vnode Disk Driver

SYNOPSIS
pseudo-device vnd 4

DESCRIPTION
The vnd driver provides a disk-like interface to a file. This is useful for a variety of applications, including swap files and building miniroot or floppy disk images.

This document assumes that you're familiar with how to generate kernels, how to properly configure disks and pseudo-devices in a kernel configuration file.

In order to compile in support for the vnd, you must add a line similar to the following to your kernel configuration file:

    pseudo-device	vnd	4	# vnode disk driver

The count argument is how many vnds memory is allocated for a boot time. In this example, no more than 4 vnds may be configured.

There is a run-time utility that is used for configuring vnds. See vnconfig(8) for more information.

BUGS
The vnd driver does not work if the file does not reside in a local filesystem.

FILES
/dev/{,r}vnd* - vnd device special files.

HISTORY
The vnode disk driver was originally written at the University of Utah.

SEE ALSO
MAKEDEV(8), config(8), config.old(8), fsck(8), mount(8), newfs(8), vnconfig(8).