]>
Commit | Line | Data |
---|---|---|
2b371b26 SY |
1 | |
2 | <!-- | |
3 | ||
4 | (C) Copyright Canonical Ltd. 2013 | |
5 | ||
6 | Authors: | |
7 | Stéphane Graber <stgraber@ubuntu.com> | |
8 | ||
9 | This library is free software; you can redistribute it and/or | |
10 | modify it under the terms of the GNU Lesser General Public | |
11 | License as published by the Free Software Foundation; either | |
12 | version 2.1 of the License, or (at your option) any later version. | |
13 | ||
14 | This library is distributed in the hope that it will be useful, | |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
17 | Lesser General Public License for more details. | |
18 | ||
19 | You should have received a copy of the GNU Lesser General Public | |
20 | License along with this library; if not, write to the Free Software | |
21 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
22 | ||
23 | Translated into Korean | |
24 | by Sungbae Yoo <sungbae.yoo at samsung.com> | |
25 | ||
26 | --> | |
27 | ||
28 | <!DOCTYPE refentry PUBLIC @docdtd@ [ | |
29 | ||
30 | <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml"> | |
31 | ]> | |
32 | ||
33 | <refentry> | |
34 | ||
35 | <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo> | |
36 | ||
37 | <refmeta> | |
38 | <refentrytitle>lxc-device</refentrytitle> | |
39 | <manvolnum>1</manvolnum> | |
40 | </refmeta> | |
41 | ||
42 | <refnamediv> | |
43 | <refname>lxc-device</refname> | |
44 | ||
45 | <refpurpose> | |
46 | <!-- | |
47 | manage devices of running containers | |
48 | --> | |
49 | 실행 중인 컨테이너의 디바이스 관리 | |
50 | </refpurpose> | |
51 | </refnamediv> | |
52 | ||
53 | <refsynopsisdiv> | |
54 | <cmdsynopsis> | |
55 | <command>lxc-device</command> | |
56 | <arg choice="opt">-h</arg> | |
57 | <arg choice="opt">-n <replaceable>name</replaceable></arg> | |
58 | <arg choice="opt">add</arg> | |
59 | <arg choice="opt">DEVICE</arg> | |
60 | <arg choice="opt">NAME</arg> | |
61 | </cmdsynopsis> | |
62 | </refsynopsisdiv> | |
63 | ||
64 | <refsect1> | |
65 | <title><!-- Description -->설명</title> | |
66 | <para> | |
67 | <!-- | |
68 | <command>lxc-device</command> manages devices in running container. | |
69 | --> | |
70 | <command>lxc-device</command>는 실행중인 컨테이너의 디바이스를 관리한다. | |
71 | </para> | |
72 | </refsect1> | |
73 | ||
74 | <refsect1> | |
75 | <title><!-- Options -->옵션</title> | |
76 | <variablelist> | |
77 | <varlistentry> | |
78 | <term> | |
1bc07a5b | 79 | <option>-h</option> |
2b371b26 SY |
80 | </term> |
81 | <listitem> | |
82 | <para> | |
83 | <!-- | |
84 | The full command help message. | |
85 | --> | |
86 | 명령어의 전체 도움말을 표시한다. | |
87 | </para> | |
88 | </listitem> | |
89 | </varlistentry> | |
90 | ||
91 | <varlistentry> | |
1bc07a5b | 92 | <term><option>-n, --name=<replaceable>NAME</replaceable></option></term> |
2b371b26 SY |
93 | <listitem> |
94 | <para> | |
95 | <!-- | |
96 | The name of the target container. | |
97 | --> | |
98 | 대상으로 하는 컨테이너의 이름. | |
99 | </para> | |
100 | </listitem> | |
101 | </varlistentry> | |
102 | ||
103 | <varlistentry> | |
104 | <term> | |
105 | <option>action</option> | |
106 | </term> | |
107 | <listitem> | |
108 | <para> | |
109 | <!-- | |
110 | What action to perform. Only 'add' is supported at this point. | |
111 | --> | |
112 | 수행할 동작. 현재는 'add'만 지원된다. | |
113 | </para> | |
114 | </listitem> | |
115 | </varlistentry> | |
116 | ||
117 | <varlistentry> | |
118 | <term> | |
119 | <option>DEVICE</option> | |
120 | </term> | |
121 | <listitem> | |
122 | <para> | |
123 | <!-- | |
124 | The device to add to the container. | |
125 | It can either be the path to a device under /dev or a network | |
126 | interface name. | |
127 | --> | |
128 | 컨테이너에 추가할 디바이스. | |
129 | 장치의 경로를 /dev 밑으로 지정하거나 네트워크 인터페이스 이름이 지정 가능하다. | |
130 | </para> | |
131 | </listitem> | |
132 | </varlistentry> | |
133 | ||
134 | <varlistentry> | |
135 | <term> | |
136 | <option><optional>NAME</optional></option> | |
137 | </term> | |
138 | <listitem> | |
139 | <para> | |
140 | <!-- | |
141 | Name for the device within the container. | |
142 | --> | |
143 | 컨테이너 내부에서 쓰일 디바이스의 이름 | |
144 | </para> | |
145 | </listitem> | |
146 | </varlistentry> | |
147 | </variablelist> | |
148 | </refsect1> | |
149 | ||
150 | <refsect1> | |
151 | <title><!-- Examples -->예제</title> | |
152 | <variablelist> | |
153 | <varlistentry> | |
154 | <term>lxc-device -n p1 add /dev/video0</term> | |
155 | <listitem> | |
156 | <para> | |
157 | <!-- | |
158 | Creates a /dev/video0 device in container p1 based on the matching | |
159 | device on the host. | |
160 | --> | |
161 | 컨테이너 p1 내부에 호스트의 것과 같은 /dev/video0 장치를 생성한다. | |
162 | </para> | |
163 | </listitem> | |
164 | </varlistentry> | |
165 | ||
166 | <varlistentry> | |
167 | <term>lxc-device -n p1 add eth0 eth1</term> | |
168 | <listitem> | |
169 | <para> | |
170 | <!-- | |
171 | Moves eth0 from the host as eth1 in p1. | |
172 | --> | |
173 | 호스트의 eth0를 컨테이너 p1에 eth1의 이름으로 옮긴다. | |
174 | </para> | |
175 | </listitem> | |
176 | </varlistentry> | |
177 | </variablelist> | |
178 | </refsect1> | |
179 | ||
180 | &seealso; | |
181 | ||
182 | <refsect1> | |
183 | <title><!-- Author -->저자</title> | |
184 | <para>Stéphane Graber <email>stgraber@ubuntu.com</email></para> | |
185 | </refsect1> | |
186 | </refentry> | |
187 | ||
188 | <!-- Keep this comment at the end of the file | |
189 | Local variables: | |
190 | mode: sgml | |
191 | sgml-omittag:t | |
192 | sgml-shorttag:t | |
193 | sgml-minimize-attributes:nil | |
194 | sgml-always-quote-attributes:t | |
195 | sgml-indent-step:2 | |
196 | sgml-indent-data:t | |
197 | sgml-parent-document:nil | |
198 | sgml-default-dtd-file:nil | |
199 | sgml-exposed-tags:nil | |
200 | sgml-local-catalogs:nil | |
201 | sgml-local-ecat-files:nil | |
202 | End: | |
203 | --> |