Man pages sections > man8 > vdevmap

vdevmap - manages device mappings

VDEVMAP(8) System Administration VDEVMAP(8)


vdevmap - manages device mappings


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


[--device <dev>] [--remap --target <dev>]
--flags <flags>
Set the specified flags
Allow opening of the device
If CAP_MKNOD is given, allow mknod(2)
--device <dev>
Device to apply the command to
Remap the device to the target
--target <dev>
Target for --remap
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
This program is part of util-vserver 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