*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> vnconfig (8)              



NAME    [Toc]    [Back]

     vnconfig - configure vnode disks for file swapping or pseudo
file systems

SYNOPSIS    [Toc]    [Back]

     vnconfig [-c] [-vk] rawdev regular_file
     vnconfig -u [-v] rawdev
     vnconfig -l [rawdev]

DESCRIPTION    [Toc]    [Back]

     The  vnconfig  command configures vnode pseudo disk devices.
It will associate
 (or disassociate) 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 filesystem that is mounted in the name space.
Both traditional
 devices, vnd, and the cache-coherent  devices,  svnd,
are configured
     through vnconfig.

     If  you  read the regular file while using svnd, you need to
mount the svnd
     with the mount option sync  to  ensure  consistency  in  the
buffer cache.
     For normal operation this is not necessary.

     The options are as follows:

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

     -k       Associate  an  encryption key with the device.  All
data will be
             encrypted using the Blowfish  cipher  before  it  is
written to the
             disk.  Encryption only works with svnd.

     -l       List the vnd devices and indicate which ones are in
use.  If a
             specific rawdev is given, then only that one will be

     -u      Unconfigures the device.

     -v      Print messages to stdout describing actions taken.

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

FILES    [Toc]    [Back]


EXAMPLES    [Toc]    [Back]

     Configure the vnode disk svnd0 (all of its partitions become

           # vnconfig svnd0 /tmp/diskimage

     Unconfigure the same device:

           # vnconfig -u svnd0

SEE ALSO    [Toc]    [Back]

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

BUGS    [Toc]    [Back]

     This command should really be named vndconfig.

OpenBSD      3.6                           July      8,      1993
[ Back ]
 Similar pages
Name OS Title
rdconfig OpenBSD configure RAM disks
vnconfig FreeBSD configure and enable memory disks
mdconfig FreeBSD configure and enable memory disks
swapon Linux start/stop swapping to file/device
setup Linux setup devices and file systems, mount root file system
pfs_fstab HP-UX static file system mounting table, mounted file systems table
dmbuffd IRIX configure DMbufferpool file descriptor
vx_maxlink HP-UX Configure the number of links to a file
autoupdate2.13 Linux updates an old configure.in file to version 2
autoupdate Linux updates an old configure.in file to version 2
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service