.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.41.2. .TH VDEVMAP "8" "May 2013" "vdevmap -- manages device mappings" "System Administration" .SH NAME vdevmap \- manages device mappings .SH SYNOPSIS .B vdevmap \fI--xid {--set|--unset} \fR[\fI--flags \fR] [\fI--open\fR] [\fI--create\fR] .SH DESCRIPTION .IP [\-\-device ] [\-\-remap \fB\-\-target\fR ] .TP \fB\-\-flags\fR Set the specified flags .TP \fB\-\-open\fR Allow opening of the device .TP \fB\-\-create\fR If CAP_MKNOD is given, allow mknod(2) .TP \fB\-\-device\fR Device to apply the command to .TP \fB\-\-remap\fR Remap the device to the target .TP \fB\-\-target\fR Target for \fB\-\-remap\fR .PP EXAMPLES .IP Remap \fI/dev/hda1\fP to \fI/dev/vroot1\fP for xid 42 .IP vdevmap \fB\-\-xid\fR 42 \fB\-\-set\fR \fB\-\-open\fR \fB\-\-device\fR \fI/dev/hda1\fP \fB\-\-target\fR \fI/dev/vroot1\fP \fB\-\-remap\fR .IP Let xid 42 create all device nodes .IP vdevmap \fB\-\-xid\fR 42 \fB\-\-set\fR \fB\-\-open\fR \fB\-\-create\fR \fB\-\-target\fR \fI/dev/null\fP vdevmap \fB\-\-xid\fR 42 \fB\-\-set\fR \fB\-\-open\fR \fB\-\-create\fR \fB\-\-target\fR \fI/dev/root\fP .IP Let xid 43 create just \fI/dev/null\fP .IP vdevmap \fB\-\-xid\fR 43 \fB\-\-set\fR \fB\-\-open\fR \fB\-\-create\fR \fB\-\-device\fR \fI/dev/null\fP .PP Please report bugs to vserver@list.linux\-vserver.org .PP This program is part of util\-vserver .SH COPYRIGHT Copyright \(co 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.