'\" -*- coding: UTF-8 -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH lxc-device 1 2024-02-10 "" "" .SH NAME lxc-device \- 実行中のコンテナのデバイスの管理 .SH SYNOPSIS 'nh .fi .ad l \*(T<\fBlxc\-device\fR\*(T> \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu [-h] [-n \fIname\fR] [add] [DEVICE] [NAME] 'in \n(.iu-\nxu .ad b 'hy .SH 説明 \fBlxc-device\fR は実行中のコンテナのデバイスを管理します。 .SH オプション .TP \*(T<\fB\-h\fR\*(T> コマンドのヘルプを表示します。 .TP \*(T<\fB\-n, \-\-name=\fR\*(T>\fINAME\fR 対象のコンテナの名前 .TP \*(T<\fBaction\fR\*(T> 実行するアクション。現時点では 'add' のみ指定できます。 .TP \*(T<\fBDEVICE\fR\*(T> コンテナに追加するデバイス。 /dev 以下のデバイスのパスかネットワークインターフェース名を指定できます。 .TP \*(T<\fB[NAME]\fR\*(T> コンテナ内でのデバイスの名前 .SH 例 .TP lxc-device -n p1 add /dev/video0 コンテナ p1 内に、ホスト上でマッチするデバイスに基づいて /dev/video0 デバイスを作製します。 .TP lxc-device -n p1 add eth0 eth1 eth0 をホストから p1 内の eth1 に移動します。 .SH "SEE ALSO" \fBlxc\fR(7), \fBlxc-create\fR(1), \fBlxc-copy\fR(1), \fBlxc-destroy\fR(1), \fBlxc-start\fR(1), \fBlxc-stop\fR(1), \fBlxc-execute\fR(1), \fBlxc-console\fR(1), \fBlxc-monitor\fR(1), \fBlxc-wait\fR(1), \fBlxc-cgroup\fR(1), \fBlxc-ls\fR(1), \fBlxc-info\fR(1), \fBlxc-freeze\fR(1), \fBlxc-unfreeze\fR(1), \fBlxc-attach\fR(1), \fBlxc.conf\fR(5) .SH 作者 Stéphane Graber <\*(T>