VND(4) NetBSD Kernel Interfaces Manual VND(4)
NAME
vnd -- vnode disk driver
SYNOPSIS
pseudo-device vnd [count] options VND_COMPRESSION
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 configura- tion 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 at boot time. In this example, no more than 4 vnds may be configured. To also compile in support for reading compressed disk images, add the following option to your kernel config file: options VND_COMPRESSION # compressed vnd(4) Compressed disk images are expected in the cloop2 format, they can be created from "normal" disk images by the vndcompress(1) program. There is a run-time utility that is used for configuring both compressed and uncompressed vnds. See vnconfig(8) for more information.
FILES
/dev/{,r}vnd* vnd device special files.
SEE ALSO
vndcompress(1), MAKEDEV(8), config(8), fsck(8), mount(8), newfs(8), vnconfig(8)
HISTORY
The vnode disk driver was originally written at the University of Utah. The compression handling is based on code by Cliff Wright <cliff@snipe444.org>.
BUGS
The vnd driver does not work if the file does not reside in a local filesystem. NetBSD 3.0.1 July 16, 2005 NetBSD 3.0.1
Powered by man-cgi (2024-08-26). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.