Scroll to navigation

VDEVMAP(8) System Administration VDEVMAP(8)

NAME

vdevmap - manages device mappings

SYNOPSIS

vdevmap --xid <xid> {--set|--unset} [--flags <flags>] [--open] [--create]

DESCRIPTION

[--device <dev>] [--remap --target <dev>]
Set the specified flags
Allow opening of the device
If CAP_MKNOD is given, allow mknod(2)
Device to apply the command to
Remap the device to the target
Target for --remap

EXAMPLES

Remap /dev/hda1 to /dev/vroot1 for xid 42
vdevmap --xid 42 --set --open --device /dev/hda1 --target /dev/vroot1 --remap
Let xid 42 create all device nodes
vdevmap --xid 42 --set --open --create --target /dev/null vdevmap --xid 42 --set --open --create --target /dev/root
Let xid 43 create just /dev/null
vdevmap --xid 43 --set --open --create --device /dev/null

Please report bugs to vserver@list.linux-vserver.org

This program is part of util-vserver

COPYRIGHT

Copyright © 2006 Daniel Hokka Zakrisson This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty.

May 2013 vdevmap -- manages device mappings