lxc-device.sgml.in revision faefa7f8584a7d1567df2e6f1f9240a28a6466ab
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi<!--
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi(C) Copyright Canonical Ltd. 2013
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiAuthors:
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiSt辿phane Graber <stgraber@ubuntu.com>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiThis library is free software; you can redistribute it and/or
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumimodify it under the terms of the GNU Lesser General Public
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLicense as published by the Free Software Foundation; either
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumiversion 2.1 of the License, or (at your option) any later version.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiThis library is distributed in the hope that it will be useful,
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumibut WITHOUT ANY WARRANTY; without even the implied warranty of
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLesser General Public License for more details.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiYou should have received a copy of the GNU Lesser General Public
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLicense along with this library; if not, write to the Free Software
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
8900b9eb2514c07047541833286428572493a9fdStéphane GraberTranslated into Japanese
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumiby KATOH Yasufumi <karma at jazz.email.ne.jp>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi-->
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
faefa7f8584a7d1567df2e6f1f9240a28a6466abStéphane Graber<!DOCTYPE refentry PUBLIC @docdtd@ [
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi]>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi<refentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refmeta>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refentrytitle>lxc-device</refentrytitle>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <manvolnum>1</manvolnum>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refmeta>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refnamediv>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refname>lxc-device</refname>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refpurpose>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <!--
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi manage deices of running containers
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi -->
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi 実行中のコンテナのデバイスを管理する
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refpurpose>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refnamediv>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refsynopsisdiv>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <cmdsynopsis>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <command>lxc-device</command>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <arg choice="opt">-h</arg>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <arg choice="opt">-n <replaceable>name</replaceable></arg>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <arg choice="opt">add</arg>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <arg choice="opt">DEVICE</arg>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <arg choice="opt">NAME</arg>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </cmdsynopsis>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refsynopsisdiv>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refsect1>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <title><!-- Description -->説明</title>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <!--
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <command>lxc-device</command> manages devices in running container.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi -->
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <command>lxc-device</command> は実行中のコンテナのデバイスを管理します.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refsect1>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refsect1>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <title><!-- Options -->オプション</title>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <variablelist>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <option><optional>-h</optional></option>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <!--
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi The full command help message.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi -->
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi コマンドのヘルプを表示します.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <option>-n</option>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <!--
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi The name of the target container.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi -->
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi 対象のコンテナの名前
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <option>action</option>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <!--
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi What action to perform. Only 'add' is supported at this point.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi -->
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi 実行するアクション.現時点では 'add' のみ指定できます.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <option>DEVICE</option>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <!--
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi The device to add to the container.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi It can either be the path to a device under /dev or a network
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi interface name.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi -->
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi コンテナに追加するデバイス.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi /dev 以下のデバイスのパスかネットワークインターフェース名を指定できます.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <option><optional>NAME</optional></option>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <!--
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi Name for the device within the container.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi -->
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi コンテナ内でのデバイスの名前
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </variablelist>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refsect1>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refsect1>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <title><!-- Examples -->例</title>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <variablelist>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <term>lxc-device -n p1 add /dev/video0</term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <!--
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi Creates a /dev/video0 device in container p1 based on the matching
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi device on the host.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi -->
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi コンテナ p1 内に,ホスト上でマッチするデバイスに基づいて /dev/video0 デバイスを作製します.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <term>lxc-device -n p1 add eth0 eth1</term>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <!--
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi Moves eth0 from the host as eth1 in p1.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi -->
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi eth0 をホストから p1 内の eth1 に移動します.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </listitem>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </variablelist>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refsect1>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi &seealso;
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refsect1>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <title><!-- Author -->作者</title>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refsect1>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi</refentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi<!-- Keep this comment at the end of the file
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLocal variables:
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumimode: sgml
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-omittag:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-shorttag:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-minimize-attributes:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-always-quote-attributes:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-indent-step:2
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-indent-data:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-parent-document:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-default-dtd-file:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-exposed-tags:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-local-catalogs:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-local-ecat-files:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiEnd:
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi-->