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: KATOH Yasufumi <karma@jazz.email.ne.jp>
This commit is contained in:
KATOH Yasufumi 2017-12-19 19:54:15 +09:00
parent b6feb9db85
commit a0a4f759b2
2 changed files with 55 additions and 44 deletions

View File

@ -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>create=dir</option> or <option>create=file</option>
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 つのオプションが使えます。
<option>optional</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>
</listitem>
</varlistentry>

View File

@ -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,
and mount it to proc/kcore inside the container.
</para>
<para>
</para>
</listitem>
</varlistentry>