SYNOPSIS
vdevmap --xid <xid> {--set|--unset} [--flags <flags>] [--open] [--create]DESCRIPTION
- [--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 --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 [email protected]
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.