vdevmap8
Manages device mappings
Usage
vdevmap --xid
<xid>
{--set | --unset}
[--flags
<flags>]
[--open]
[--create]
Overview
-
[--device <dev>] [--remap
--target<dev>]
-
--flags <flags> -
Set the specified flags
-
--open -
Allow opening of the device
-
--create -
If CAP_MKNOD is given, allow mknod(2)
-
--device <dev> -
Device to apply the command to
-
--remap -
Remap the device to the target
-
--target <dev> -
Target for
--remap
EXAMPLES
-
Remap /dev/hda1 to /dev/vroot1 for xid 42
-
vdevmap
--xid42--set--open--device/dev/hda1--target/dev/vroot1--remap
-
Let xid 42 create all device nodes
-
vdevmap
--xid42--set--open--create--target/dev/null vdevmap--xid42--set--open--create--target/dev/root
-
Let xid 43 create just /dev/null
-
vdevmap
--xid43--set--open--create--device/dev/null
Please report bugs to [email protected]
This program is part of util-vserver
Releases
Unchanged in 3 releases since Debian 8 (Jessie).