]> git.proxmox.com Git - mirror_lxc.git/commitdiff
doc: Update Japanese lxc-usernet(5) for supporting usergroups
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Thu, 25 Jun 2015 07:18:34 +0000 (16:18 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 30 Jun 2015 19:17:30 +0000 (15:17 -0400)
Update for commit 1940bff, and fix typo in English man

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

index 9d568beaaa98a0f72185f4d79c1d12f59a311bfa..4a9c055c08662e9e0b06bb492c024211523ed20b 100644 (file)
@@ -75,6 +75,10 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
       <para>
       <command>user</command> <command>type</command> <command>bridge</command> <command>number</command>
       </para>
+      <para>もしくは</para>
+      <para>
+      <command>@group</command> <command>type</command> <command>bridge</command> <command>number</command>
+      </para>
       <para>
         <!--
       Where
@@ -98,6 +102,20 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
          </listitem>
        </varlistentry>
 
+       <varlistentry>
+         <term>
+           <option>@group</option>
+         </term>
+         <listitem>
+           <para>
+             <!--
+             is the groupname to which this entry applies.
+               -->
+             このエントリを適用するグループ名
+           </para>
+         </listitem>
+       </varlistentry>
+
        <varlistentry>
          <term>
            <option>type</option>
@@ -136,15 +154,30 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
          <listitem>
            <para>
               <!--
-             is the number of network interfaces of the given type which the
-             given user may attach to the given bridge, for instance <filename>2</filename>.
+             is the number or quota of network interfaces of the given type which the
+             given user or group may attach to the given bridge, for instance <filename>2</filename>.
               -->
-              指定したユーザが、指定したブリッジに接続できる、指定した形式のネットワークインターフェースの数。
+              æ\8c\87å®\9aã\81\97ã\81\9fã\83¦ã\83¼ã\82¶ã\82\82ã\81\97ã\81\8fã\81¯ã\82°ã\83«ã\83¼ã\83\97ã\81\8cã\80\81æ\8c\87å®\9aã\81\97ã\81\9fã\83\96ã\83ªã\83\83ã\82¸ã\81«æ\8e¥ç¶\9aã\81§ã\81\8dã\82\8bã\80\81æ\8c\87å®\9aã\81\97ã\81\9få½¢å¼\8fã\81®ã\83\8dã\83\83ã\83\88ã\83¯ã\83¼ã\82¯ã\82¤ã\83³ã\82¿ã\83¼ã\83\95ã\82§ã\83¼ã\82¹ã\81®æ\95°ã\80\82
               例えば <filename>2</filename> のように指定します。
             </para>
          </listitem>
        </varlistentry>
       </variablelist>
+
+      <para>
+        <!--
+        Since a user can be specified both by username as well as one or
+        more usergroups, it is possible that several configuration lines
+        enable that user to create network interfaces. In such cases, any
+        interfaces create are counted towards the quotas of the user or group
+        in the order in which they appear in the file. If the quota of one
+        line is full, the rest will be parsed until one is found or the end of
+        the file.
+          -->
+       あるユーザに対する指定が、ユーザ名とひとつ以上のユーザグループの両方で指定される可能性があるので、そのユーザがネットワークインターフェースを作れるようにする設定が複数行にわたる可能性があります。
+        このような場合、あるインターフェースの作成は、設定ファイルに現れた順にユーザもしくはグループの割り当てをカウントします。
+        もしある行の設定に対する割り当てが一杯の場合、他の割り当て行が現れるかファイルの最後に達するまで、残りの行を読み込んでチェックします。
+      </para>
     </refsect2>
 
   </refsect1>
index 8d3e9eb2cd0a04c0f32d12f7087aa819f97004fb..dfc7b453a141d8b0c966b5d78b5e887f14b0b341 100644 (file)
@@ -133,7 +133,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
       </variablelist>
 
       <para>
-        Since a user can be be specified both by username as well as one or
+        Since a user can be specified both by username as well as one or
         more usergroups, it is possible that several configuration lines
         enable that user to create network interfaces. In such cases, any
         interfaces create are counted towards the quotas of the user or group