Commit a0a4f759 by KATOH Yasufumi

doc: Add relative option for lxc.mount.entry to Japanese lxc.container.conf(5)

and: * remove empty paragraph in English man * untabify in Japanese man Signed-off-by: 's avatarKATOH Yasufumi <karma@jazz.email.ne.jp>
parent b6feb9db
...@@ -1402,10 +1402,23 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp> ...@@ -1402,10 +1402,23 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<option>optional</option> don't fail if mount does not work. <option>optional</option> don't fail if mount does not work.
<option>create=dir</option> or <option>create=file</option> <option>create=dir</option> or <option>create=file</option>
to create dir (or file) when the point will be mounted. to create dir (or file) when the point will be mounted.
<option>relative</option> source path is taken to be relative to
the mounted container root. For instance,
--> -->
fstab フォーマットに加えて、LXC ではマウントに対して独自の 2 つのオプションが使えます。 fstab フォーマットに加えて、LXC ではマウントに対して独自の 2 つのオプションが使えます。
<option>optional</option> は、マウントが失敗しても失敗を返さずに無視します。 <option>optional</option> は、マウントが失敗しても失敗を返さずに無視します。
<option>create=dir</option> と <option>create=file</option> は、マウントポイントをマウントする際にディレクトリもしくはファイルを作成します。 <option>create=dir</option> と <option>create=file</option> は、マウントポイントをマウントする際にディレクトリもしくはファイルを作成します。
<option>relative</option> を指定すると、マウントされたコンテナルートからの相対パスとして取得されます。
</para>
<screen>
dev/null proc/kcore none bind,relative 0 0
</screen>
<para>
<!--
Will expand dev/null to ${<option>LXC_ROOTFS_MOUNT</option>}/dev/null,
and mount it to proc/kcore inside the container.
-->
は dev/null を ${<option>LXC_ROOTFS_MOUNT</option>}/dev/null と展開し、コンテナ内の proc/kcore にマウントします。
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
...@@ -1076,8 +1076,6 @@ dev/null proc/kcore none bind,relative 0 0 ...@@ -1076,8 +1076,6 @@ dev/null proc/kcore none bind,relative 0 0
Will expand dev/null to ${<option>LXC_ROOTFS_MOUNT</option>}/dev/null, Will expand dev/null to ${<option>LXC_ROOTFS_MOUNT</option>}/dev/null,
and mount it to proc/kcore inside the container. and mount it to proc/kcore inside the container.
</para> </para>
<para>
</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
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