The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/3157
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) ===
From 9c744e39c35b65e6c9ed7cc088297438058a069c Mon Sep 17 00:00:00 2001 From: KATOH Yasufumi <ka...@jazz.email.ne.jp> Date: Fri, 11 Oct 2019 16:04:06 +0900 Subject: [PATCH 1/2] Add autodev.tmpfs.size to Japanese lxc.container.conf(5) Update for commit 63012bd Signed-off-by: KATOH Yasufumi <ka...@jazz.email.ne.jp> --- doc/ja/lxc.container.conf.sgml.in | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/doc/ja/lxc.container.conf.sgml.in b/doc/ja/lxc.container.conf.sgml.in index 72301fc911..baded6955e 100644 --- a/doc/ja/lxc.container.conf.sgml.in +++ b/doc/ja/lxc.container.conf.sgml.in @@ -1405,7 +1405,8 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> <filename>/dev</filename> to be set up as needed in the container rootfs. If lxc.autodev is set to 1, then after mounting the container's rootfs LXC will mount a fresh tmpfs under <filename>/dev</filename> - (limited to 500k) and fill in a minimal set of initial devices. + (limited to 500K by default, unless defined in lxc.autodev.tmpfs.size) + and fill in a minimal set of initial devices. This is generally required when starting a container containing a "systemd" based "init" but may be optional at other times. Additional devices in the containers /dev directory may be created through the @@ -1413,7 +1414,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> --> デフォルトでは、lxc はコンテナの <filename>/dev</filename> 以下に fd, stdin, stdout, stderr のシンボリックリンクを作成しますが、自動的にはデバイスノードのエントリは作成しません。 これは、コンテナの rootfs で必要な設定を行えるようにするものです。 - lxc.autodev が 1 に設定されている場合、コンテナの rootfs をマウントした後、LXC は新しい tmpfs を <filename>/dev</filename> 以下にマウントします (500k 制限の)。 + lxc.autodev が 1 に設定されている場合、コンテナの rootfs をマウントした後、LXC は新しい tmpfs を <filename>/dev</filename> 以下にマウントします (デフォルトでは 500k 制限でマウント、lxc.autodev.tmpfs.size で指定可能)。 そして初期デバイスの最小限のセットを作成します。 これは、"systemd" ベースの "init" 環境のコンテナを起動する時に通常必要ですが、他の環境の場合はオプショナルなものです。 コンテナの /dev ディレクトリ内の追加デバイスは <option>lxc.hook.autodev</option> フックを使用して作成されます。 @@ -1433,6 +1434,23 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> </para> </listitem> </varlistentry> + + <varlistentry> + <term> + <option>lxc.autodev.tmpfs.size</option> + </term> + <listitem> + <para> + <!-- + Set this to define the size of the /dev tmpfs. + The default value is 500000 (500K). If the parameter is used + but without value, the default value is used. + --> + この設定で /dev tmpfs のサイズを指定します。 + デフォルト値は 500000 (500K) です。このパラメータを値なしで使うと、デフォルト値が使われます。 + </para> + </listitem> + </varlistentry> </variablelist> </refsect2> From a517f6d61f59634fb735da81d0786753ed200f8a Mon Sep 17 00:00:00 2001 From: KATOH Yasufumi <ka...@jazz.email.ne.jp> Date: Fri, 11 Oct 2019 16:06:20 +0900 Subject: [PATCH 2/2] Add more info about lxc.start.order in Japanese man Update for commit 0684250 Signed-off-by: KATOH Yasufumi <ka...@jazz.email.ne.jp> --- doc/ja/lxc.container.conf.sgml.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/ja/lxc.container.conf.sgml.in b/doc/ja/lxc.container.conf.sgml.in index baded6955e..ba667f4a3b 100644 --- a/doc/ja/lxc.container.conf.sgml.in +++ b/doc/ja/lxc.container.conf.sgml.in @@ -3441,9 +3441,11 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> <para> <!-- An integer used to sort the containers when auto-starting - a series of containers at once. + a series of containers at once. A lower value means an + earlier start. --> - 多数の自動起動させるコンテナがある場合のコンテナの起動順を決めるのに使う整数を指定します。 + 自動起動させるコンテナが多数ある場合のコンテナの起動順を決めるのに使う整数を指定します。 + 小さい値ほど早く起動します。 </para> </listitem> </varlistentry>
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel