]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
doc: Update Japanese lxc.container.conf(5) for guidance of lxc.mount.entry
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Sat, 17 May 2014 17:23:31 +0000 (02:23 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 19 May 2014 16:09:02 +0000 (18:09 +0200)
Update for commit 6191f4f

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
doc/ja/lxc.container.conf.sgml.in

index 0135648a825ba17e2e01ffcb49925014ef476b3f..39b0a0d591ff8d028002ed38ba6e7c0c11b33eb4 100644 (file)
@@ -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>