Remove trailing whitespaces

parent 799f29ab
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
...@@ -110,7 +110,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -110,7 +110,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<literal>NOTICE</literal>, <literal>INFO</literal>, <literal>NOTICE</literal>, <literal>INFO</literal>,
<literal>DEBUG</literal>. <literal>DEBUG</literal>.
--> -->
ログの優先度を <replaceable>LEVEL</replaceable> に設定します.デフォルトの優先度は <literal>ERROR</literal> です.以下の値を設定可能です: ログの優先度を <replaceable>LEVEL</replaceable> に設定します.デフォルトの優先度は <literal>ERROR</literal> です.以下の値を設定可能です:
<literal>FATAL</literal>, <literal>CRIT</literal>, <literal>FATAL</literal>, <literal>CRIT</literal>,
<literal>WARN</literal>, <literal>ERROR</literal>, <literal>WARN</literal>, <literal>ERROR</literal>,
<literal>NOTICE</literal>, <literal>INFO</literal>, <literal>NOTICE</literal>, <literal>INFO</literal>,
......
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
<!-- <!--
lxc: linux Container library lxc: linux Container library
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -19,7 +19,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -19,7 +19,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -22,7 +22,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -22,7 +22,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
<!-- <!--
lxc: linux Container library lxc: linux Container library
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
<!-- <!--
lxc: linux Container library lxc: linux Container library
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
...@@ -160,7 +160,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -160,7 +160,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
The option 'btrfs' need not be specified as it will be used The option 'btrfs' need not be specified as it will be used
automatically if the <filename>@LXCPATH@</filename> filesystem is found to automatically if the <filename>@LXCPATH@</filename> filesystem is found to
be btrfs. If backingstore is 'lvm', then an lvm block device will be be btrfs. If backingstore is 'lvm', then an lvm block device will be
used and the following further options are available: used and the following further options are available:
<replaceable>&#045;&#045;lvname lvname1</replaceable> will create an LV <replaceable>&#045;&#045;lvname lvname1</replaceable> will create an LV
named <filename>lvname1</filename> rather than the default, which named <filename>lvname1</filename> rather than the default, which
is the container name. <replaceable>&#045;&#045;vgname vgname1</replaceable> is the container name. <replaceable>&#045;&#045;vgname vgname1</replaceable>
...@@ -169,7 +169,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -169,7 +169,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<replaceable>&#045;&#045;fstype FSTYPE</replaceable> will create an FSTYPE <replaceable>&#045;&#045;fstype FSTYPE</replaceable> will create an FSTYPE
filesystem on the LV, rather than the default, which is ext4. filesystem on the LV, rather than the default, which is ext4.
<replaceable>&#045;&#045;fssize SIZE</replaceable> will create a LV (and <replaceable>&#045;&#045;fssize SIZE</replaceable> will create a LV (and
filesystem) of size SIZE rather than the default, which is 1G. filesystem) of size SIZE rather than the default, which is 1G.
--> -->
<replaceable>backingstore</replaceable> には 'none' か 'dir' か 'lvm' か 'btrfs' のいずれかを指定します.デフォルトは 'none' で,コンテナのルートファイルシステムが <filename>@LXCPATH@/container/rootfs</filename> 以下のディレクトリであることを意味します. <replaceable>backingstore</replaceable> には 'none' か 'dir' か 'lvm' か 'btrfs' のいずれかを指定します.デフォルトは 'none' で,コンテナのルートファイルシステムが <filename>@LXCPATH@/container/rootfs</filename> 以下のディレクトリであることを意味します.
'dir' は 'none' と同じ意味ですが,オプションとして <replaceable>--dir ROOTFS</replaceable> を指定することも可能です.このオプションは,デフォルトの代わりに特定のパス以下にコンテナの rootfs を置くということになります. 'dir' は 'none' と同じ意味ですが,オプションとして <replaceable>--dir ROOTFS</replaceable> を指定することも可能です.このオプションは,デフォルトの代わりに特定のパス以下にコンテナの rootfs を置くということになります.
...@@ -217,7 +217,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -217,7 +217,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
メッセージの通り,コンテナを作成しようとしたけれども,同じ名前のコンテナが存在しています.<command>lxc-ls -l</command> コマンドを使って,システム上に存在する利用可能なコンテナのリストが表示できます. メッセージの通り,コンテナを作成しようとしたけれども,同じ名前のコンテナが存在しています.<command>lxc-ls -l</command> コマンドを使って,システム上に存在する利用可能なコンテナのリストが表示できます.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
......
<!-- <!--
lxc: linux Container library lxc: linux Container library
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
...@@ -128,7 +128,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -128,7 +128,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
破壊するために指定したコンテナが見つかりません.おそらくそのコンテナが存在しないのか,既に破壊された後なのでしょう.<command>lxc-ls -l</command> コマンドを使って,システム上に存在するコンテナのリストを得ることができます. 破壊するために指定したコンテナが見つかりません.おそらくそのコンテナが存在しないのか,既に破壊された後なのでしょう.<command>lxc-ls -l</command> コマンドを使って,システム上に存在するコンテナのリストを得ることができます.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
......
<!-- <!--
(C) Copyright Canonical Ltd. 2013 (C) Copyright Canonical Ltd. 2013
...@@ -20,7 +19,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -20,7 +19,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
<!-- <!--
lxc: linux Container library lxc: linux Container library
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
<!-- <!--
lxc: linux Container library lxc: linux Container library
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -19,7 +19,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -19,7 +19,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
<!--
<!--
lxc: linux Container library lxc: linux Container library
...@@ -22,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -22,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
...@@ -249,7 +248,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -249,7 +248,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<refsect1> <refsect1>
<title>See Also</title> <title>See Also</title>
<simpara> <simpara>
<citerefentry> <citerefentry>
<refentrytitle>ls</refentrytitle> <refentrytitle>ls</refentrytitle>
<manvolnum>1</manvolnum> <manvolnum>1</manvolnum>
......
<!-- <!--
lxc: linux Container library lxc: linux Container library
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -19,7 +19,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -19,7 +19,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
<!--
<!--
lxc: linux Container library lxc: linux Container library
...@@ -22,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -22,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
...@@ -104,7 +103,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -104,7 +103,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<!-- <!--
specify the container <replaceable>NAME</replaceable> specify the container <replaceable>NAME</replaceable>
to limit the output to the processes belonging to limit the output to the processes belonging
to this container name. to this container name.
--> -->
<replaceable>name</replaceable> で指定したコンテナに属するプロセスのみ出力する. <replaceable>name</replaceable> で指定したコンテナに属するプロセスのみ出力する.
</para> </para>
...@@ -118,7 +117,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -118,7 +117,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<listitem> <listitem>
<para> <para>
<!-- <!--
limit the output to the processes belonging limit the output to the processes belonging
to all lxc containers. to all lxc containers.
--> -->
全ての lxc コンテナに属するプロセスを出力する. 全ての lxc コンテナに属するプロセスを出力する.
......
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -18,7 +18,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -18,7 +18,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -20,7 +20,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -20,7 +20,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
<!-- <!--
lxc: linux Container library lxc: linux Container library
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
<!-- <!--
lxc: linux Container library lxc: linux Container library
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -22,7 +22,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -22,7 +22,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -19,7 +19,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -19,7 +19,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
<!--
<!--
lxc: linux Container library lxc: linux Container library
...@@ -22,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -22,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
<!-- <!--
lxc: linux Container library lxc: linux Container library
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
...@@ -322,7 +322,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -322,7 +322,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
ネットワークに対して行うアクションを指定します. ネットワークに対して行うアクションを指定します.
</para> </para>
<para> <para>
<!-- <!--
<option>up:</option> activates the interface. <option>up:</option> activates the interface.
...@@ -465,7 +465,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -465,7 +465,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<option>macvlan</option> network types. <option>macvlan</option> network types.
--> -->
コンテナでゲートウェイとして使う IPv6 アドレスを指定します.アドレスは x::y というフォーマットです.例えば,2003:db8:1:0::1. コンテナでゲートウェイとして使う IPv6 アドレスを指定します.アドレスは x::y というフォーマットです.例えば,2003:db8:1:0::1.
<option>auto</option> という特別な値を記述する事も可能です.これは (<option>lxc.network.link</option> で指定した) ブリッジインターフェースの最初のアドレスを使用し,それをゲートウェイに使うという意味になります.<option>auto</option> はネットワークタイプとして <option>veth</option> と <option>macvlan</option> を指定している時だけ有効となります. <option>auto</option> という特別な値を記述する事も可能です.これは (<option>lxc.network.link</option> で指定した) ブリッジインターフェースの最初のアドレスを使用し,それをゲートウェイに使うという意味になります.<option>auto</option> はネットワークタイプとして <option>veth</option> と <option>macvlan</option> を指定している時だけ有効となります.
</para> </para>
</listitem> </listitem>
......
<!-- <!--
lxc: linux Container library lxc: linux Container library
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public ...@@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Translated into Japanese Translated into Japanese
by KATOH Yasufumi <karma at jazz.email.ne.jp> by KATOH Yasufumi <karma at jazz.email.ne.jp>
--> -->
......
...@@ -167,7 +167,7 @@ struct cgroup_meta_data *lxc_cgroup_load_meta2(const char **subsystem_whitelist) ...@@ -167,7 +167,7 @@ struct cgroup_meta_data *lxc_cgroup_load_meta2(const char **subsystem_whitelist)
tab1 = strchr(line, '\t'); tab1 = strchr(line, '\t');
if (!tab1) if (!tab1)
continue; continue;
*tab1++ = '\0'; *tab1++ = '\0';
tab2 = strchr(tab1, '\t'); tab2 = strchr(tab1, '\t');
if (!tab2) if (!tab2)
...@@ -223,7 +223,7 @@ struct cgroup_meta_data *lxc_cgroup_load_meta2(const char **subsystem_whitelist) ...@@ -223,7 +223,7 @@ struct cgroup_meta_data *lxc_cgroup_load_meta2(const char **subsystem_whitelist)
colon1 = strchr(line, ':'); colon1 = strchr(line, ':');
if (!colon1) if (!colon1)
continue; continue;
*colon1++ = '\0'; *colon1++ = '\0';
colon2 = strchr(colon1, ':'); colon2 = strchr(colon1, ':');
if (!colon2) if (!colon2)
...@@ -319,7 +319,7 @@ struct cgroup_meta_data *lxc_cgroup_load_meta2(const char **subsystem_whitelist) ...@@ -319,7 +319,7 @@ struct cgroup_meta_data *lxc_cgroup_load_meta2(const char **subsystem_whitelist)
* 1: parent id * 1: parent id
* 2: device major:minor * 2: device major:minor
* 3: mount prefix * 3: mount prefix
* 4: mount point * 4: mount point
* 5: per-mount options * 5: per-mount options
* [optional X]: additional data * [optional X]: additional data
* X+7: "-" * X+7: "-"
...@@ -1052,7 +1052,7 @@ char *lxc_cgroup_get_hierarchy_abs_path_handler(const char *subsystem, struct lx ...@@ -1052,7 +1052,7 @@ char *lxc_cgroup_get_hierarchy_abs_path_handler(const char *subsystem, struct lx
if (!info) if (!info)
return NULL; return NULL;
if (info->designated_mount_point) { if (info->designated_mount_point) {
mp = info->designated_mount_point; mp = info->designated_mount_point;
} else { } else {
mp = lxc_cgroup_find_mount_point(info->hierarchy, info->cgroup_path, true); mp = lxc_cgroup_find_mount_point(info->hierarchy, info->cgroup_path, true);
if (!mp) if (!mp)
...@@ -1079,7 +1079,7 @@ char *lxc_cgroup_get_hierarchy_abs_path(const char *subsystem, const char *name, ...@@ -1079,7 +1079,7 @@ char *lxc_cgroup_get_hierarchy_abs_path(const char *subsystem, const char *name,
if (!info) if (!info)
return NULL; return NULL;
if (info->designated_mount_point) { if (info->designated_mount_point) {
mp = info->designated_mount_point; mp = info->designated_mount_point;
} else { } else {
mp = lxc_cgroup_find_mount_point(info->hierarchy, info->cgroup_path, true); mp = lxc_cgroup_find_mount_point(info->hierarchy, info->cgroup_path, true);
if (!mp) if (!mp)
...@@ -1175,7 +1175,7 @@ int lxc_cgroup_get(const char *filename, char *value, size_t len, const char *na ...@@ -1175,7 +1175,7 @@ int lxc_cgroup_get(const char *filename, char *value, size_t len, const char *na
* will be returned * will be returned
* @name : name of container to connect to * @name : name of container to connect to
* @lxcpath : the lxcpath in which the container is running * @lxcpath : the lxcpath in which the container is running
* *
* This is the exported function, which determines cgpath from the * This is the exported function, which determines cgpath from the
* lxc-start of the @name container running in @lxcpath. * lxc-start of the @name container running in @lxcpath.
* *
...@@ -1354,7 +1354,7 @@ int lxc_cgroup_nrtasks_handler(struct lxc_handler *handler) ...@@ -1354,7 +1354,7 @@ int lxc_cgroup_nrtasks_handler(struct lxc_handler *handler)
} }
if (info->designated_mount_point) { if (info->designated_mount_point) {
mp = info->designated_mount_point; mp = info->designated_mount_point;
} else { } else {
mp = lxc_cgroup_find_mount_point(info->hierarchy, info->cgroup_path, false); mp = lxc_cgroup_find_mount_point(info->hierarchy, info->cgroup_path, false);
if (!mp) if (!mp)
...@@ -1402,7 +1402,7 @@ struct cgroup_process_info *lxc_cgroup_process_info_getx(const char *proc_pid_cg ...@@ -1402,7 +1402,7 @@ struct cgroup_process_info *lxc_cgroup_process_info_getx(const char *proc_pid_cg
colon1 = strchr(line, ':'); colon1 = strchr(line, ':');
if (!colon1) if (!colon1)
continue; continue;
*colon1++ = '\0'; *colon1++ = '\0';
colon2 = strchr(colon1, ':'); colon2 = strchr(colon1, ':');
if (!colon2) if (!colon2)
...@@ -1476,7 +1476,7 @@ char **subsystems_from_mount_options(const char *mount_options, char **kernel_li ...@@ -1476,7 +1476,7 @@ char **subsystems_from_mount_options(const char *mount_options, char **kernel_li
char *token, *str, *saveptr = NULL; char *token, *str, *saveptr = NULL;
char **result = NULL; char **result = NULL;
size_t result_capacity = 0; size_t result_capacity = 0;
size_t result_count = 0; size_t result_count = 0;
int saved_errno; int saved_errno;
int r; int r;
...@@ -1595,10 +1595,10 @@ char *cgroup_to_absolute_path(struct cgroup_mount_point *mp, const char *path, c ...@@ -1595,10 +1595,10 @@ char *cgroup_to_absolute_path(struct cgroup_mount_point *mp, const char *path, c
len = strlen(mp->mount_point) + strlen(path) + (suffix ? strlen(suffix) : 0); len = strlen(mp->mount_point) + strlen(path) + (suffix ? strlen(suffix) : 0);
buf = calloc(len + 1, 1); buf = calloc(len + 1, 1);
rv = snprintf(buf, len + 1, "%s%s%s", mp->mount_point, path, suffix ? suffix : ""); rv = snprintf(buf, len + 1, "%s%s%s", mp->mount_point, path, suffix ? suffix : "");
if (rv > len) { if (rv > len) {
free(buf); free(buf);
errno = ENOMEM; errno = ENOMEM;
return NULL; return NULL;
} }
return buf; return buf;
...@@ -1697,7 +1697,7 @@ bool cgroup_devices_has_allow_or_deny(struct lxc_handler *h, char *v, bool for_a ...@@ -1697,7 +1697,7 @@ bool cgroup_devices_has_allow_or_deny(struct lxc_handler *h, char *v, bool for_a
{ {
char *path; char *path;
FILE *devices_list; FILE *devices_list;
char *line = NULL; char *line = NULL;
size_t sz = 0; size_t sz = 0;
bool ret = !for_allow; bool ret = !for_allow;
const char *parts[3] = { const char *parts[3] = {
...@@ -1738,7 +1738,7 @@ bool cgroup_devices_has_allow_or_deny(struct lxc_handler *h, char *v, bool for_a ...@@ -1738,7 +1738,7 @@ bool cgroup_devices_has_allow_or_deny(struct lxc_handler *h, char *v, bool for_a
goto out; goto out;
} else if (for_allow && strcmp(line, v) == 0) { } else if (for_allow && strcmp(line, v) == 0) {
ret = true; ret = true;
goto out; goto out;
} }
} }
...@@ -1756,7 +1756,7 @@ int cgroup_recursive_task_count(const char *cgroup_path) ...@@ -1756,7 +1756,7 @@ int cgroup_recursive_task_count(const char *cgroup_path)
DIR *d; DIR *d;
struct dirent *dent_buf; struct dirent *dent_buf;
struct dirent *dent; struct dirent *dent;
ssize_t name_max; ssize_t name_max;
int n = 0, r; int n = 0, r;
/* see man readdir_r(3) */ /* see man readdir_r(3) */
...@@ -1820,7 +1820,7 @@ int cgroup_recursive_task_count(const char *cgroup_path) ...@@ -1820,7 +1820,7 @@ int cgroup_recursive_task_count(const char *cgroup_path)
return n; return n;
} }
int count_lines(const char *fn) int count_lines(const char *fn)
{ {
FILE *f; FILE *f;
char *line = NULL; char *line = NULL;
......
...@@ -146,7 +146,7 @@ extern int lxc_cgroup_get(const char *filename, char *value, size_t len, const c ...@@ -146,7 +146,7 @@ extern int lxc_cgroup_get(const char *filename, char *value, size_t len, const c
* will be returned * will be returned
* @name : name of container to connect to * @name : name of container to connect to
* @lxcpath : the lxcpath in which the container is running * @lxcpath : the lxcpath in which the container is running
* *
* This is the exported function, which determines cgpath from the * This is the exported function, which determines cgpath from the
* lxc-start of the @name container running in @lxcpath. * lxc-start of the @name container running in @lxcpath.
* *
......
...@@ -404,7 +404,7 @@ static int lxc_cmd_get_cgroup_callback(int fd, struct lxc_cmd_req *req, ...@@ -404,7 +404,7 @@ static int lxc_cmd_get_cgroup_callback(int fd, struct lxc_cmd_req *req,
if (req->datalen < 1) if (req->datalen < 1)
return -1; return -1;
path = lxc_cgroup_get_hierarchy_path_handler(req->data, handler); path = lxc_cgroup_get_hierarchy_path_handler(req->data, handler);
if (!path) if (!path)
return -1; return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment