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

Stéphane Graber stgraber at ubuntu.com
Mon May 19 15:10:50 UTC 2014


On Sun, May 18, 2014 at 02:23:31AM +0900, KATOH Yasufumi wrote:
> Update for commit 6191f4f
> 
> Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  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)
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140519/9a09dc12/attachment.sig>


More information about the lxc-devel mailing list