VNCONFIG(8)             OpenBSD System Manager's Manual            VNCONFIG(8)

NAME
     vnconfig - configure vnode disks

SYNOPSIS
     vnconfig -c [-v] rawdev regular_file
     vnconfig -u [-v] rawdev

DESCRIPTION
     The vnconfig command configures vnode pseudo disk devices.  It will asso-
     ciate the special file rawdev with the regular file regular_file allowing
     the latter to be accessed as though it were a disk.  Hence a regular file
     within the filesystem can be used for swapping or can contain a filesys-
     tem that is mounted in the name space.  Both traditional devices, vnd,
     and the cache-coherent devices, svnd, are configured through vnconfig

     Options indicate an action to be performed:

     -c      Configures the device.  If successful, references to rawdev will
             access the contents of regular_file.

     -u      Unconfigures the device.

     -v      Print messages to stdout describing actions taken.

     If no action option is given, -c is assumed.

FILES
     /dev/{,r}{,s}vnd*

EXAMPLES
           vnconfig svnd0 /tmp/diskimage

     Configures the vnode disk svnd0 (ie. all of its partitions become use-
     able).

           vnconfig -u svnd0

     Unconfigures the same device.

BUGS
     This command should really be named vndconfig.

SEE ALSO
     vnd(4),  mount(8),  swapon(8),  umount(8)

OpenBSD 2.6                      July 8, 1993                                1
