[lxc-devel] [PATCH] doc: Update Japanese lxc.container.conf(5) for guidance of lxc.mount.entry

KATOH Yasufumi karma at jazz.email.ne.jp
Sat May 17 17:23:31 UTC 2014


Update for commit 6191f4f

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
---
 doc/ja/lxc.container.conf.sgml.in | 31 ++++++++++++++++++++++---------
 1 file changed, 22 insertions(+), 9 deletions(-)

diff --git a/doc/ja/lxc.container.conf.sgml.in b/doc/ja/lxc.container.conf.sgml.in
index 0a2a463..70b4ac7 100644
--- a/doc/ja/lxc.container.conf.sgml.in
+++ b/doc/ja/lxc.container.conf.sgml.in
@@ -928,13 +928,28 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
               <!--
 	      specify a file location in
 	      the <filename>fstab</filename> format, containing the
-	      mount information. If the rootfs is an image file or a
-	      block device and the fstab is used to mount a point
-	      somewhere in this rootfs, the path of the rootfs mount
-	      point should be prefixed with the
-	      <filename>@LXCROOTFSMOUNT@</filename> default path or
-	      the value of <option>lxc.rootfs.mount</option> if
-	      specified. Note that when mounting a filesystem from an
+	      mount information.  The mount target location can and in
+	      most cases should be a relative path, which will become
+	      relative to the mounted container root.  For instance,
+              -->
+              マウント情報の書かれた <filename>fstab</filename> フォーマットで書かれたファイルの場所を指定します。
+              マウントする場所は相対バスで書くことができます。そして、ほとんどの場合にコンテナの root からの相対パスとなるはずです。例えば、以下のように書きます。
+	     </para>
+<screen>
+proc proc proc nodev,noexec,nosuid 0 0
+</screen>
+	     <para>
+               <!--
+	      Will mount a proc filesystem under the container's /proc,
+	      regardless of where the root filesystem comes from.  This
+	      is resilient to block device backed filesystems as well as
+	      container cloning.
+              -->
+               この例は、root ファイルシステムがどこにあっても、コンテナの /proc 以下に proc ファイルシステムをマウントします。
+               これは、ブロックデバイスがバックエンドのファイルシステムだけでなく、コンテナのクローンにも柔軟に対応できます。
+	     </para>
+              <!--
+	      Note that when mounting a filesystem from an
 	      image file or block device the third field (fs_vfstype)
 	      cannot be auto as with
               <citerefentry>
@@ -943,8 +958,6 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
               </citerefentry>
               but must be explicitly specified.
               -->
-              マウントに関する情報が書かれた <filename>fstab</filename> フォーマットのファイルの場所を指定します。
-              rootfs がイメージファイルやブロックデバイスで、fstab ファイルがこの rootfs 内のどこかをマウントするために使われる場合、rootfs のマウントポイントのパスはデフォルトパスである <filename>@LXCROOTFSMOUNT@</filename> か、もしくは <option>lxc.rootfs.mount</option> が指定されている場合は、その値を前に付ける必要があります。
               ファイルシステムがイメージファイルやブロックデバイスからマウントされている場合、3 つ目のフィールド (fs_vfstype) は
               <citerefentry>
 		<refentrytitle>mount</refentrytitle>
-- 
1.8.5.2 (Apple Git-48)



More information about the lxc-devel mailing list