Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
36b33520
Unverified
Commit
36b33520
authored
Oct 20, 2013
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos identified by lintian
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
bc605ac6
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
23 additions
and
23 deletions
+23
-23
lxc-attach.sgml.in
doc/ja/lxc-attach.sgml.in
+1
-1
lxc-console.sgml.in
doc/ja/lxc-console.sgml.in
+1
-1
lxc-create.sgml.in
doc/ja/lxc-create.sgml.in
+2
-2
lxc-execute.sgml.in
doc/ja/lxc-execute.sgml.in
+1
-1
lxc.conf.sgml.in
doc/ja/lxc.conf.sgml.in
+2
-2
lxc.sgml.in
doc/ja/lxc.sgml.in
+4
-4
lxc-attach.sgml.in
doc/lxc-attach.sgml.in
+1
-1
lxc-console.sgml.in
doc/lxc-console.sgml.in
+1
-1
lxc-create.sgml.in
doc/lxc-create.sgml.in
+2
-2
lxc-execute.sgml.in
doc/lxc-execute.sgml.in
+1
-1
lxc.conf.sgml.in
doc/lxc.conf.sgml.in
+2
-2
lxc.sgml.in
doc/lxc.sgml.in
+4
-4
commands.c
src/lxc/commands.c
+1
-1
No files found.
doc/ja/lxc-attach.sgml.in
View file @
36b33520
...
@@ -340,7 +340,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -340,7 +340,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<replaceable>/sys</replaceable> filesystems contain information
<replaceable>/sys</replaceable> filesystems contain information
about some quantities that are affected by namespaces, such as
about some quantities that are affected by namespaces, such as
the directories named after process ids in
the directories named after process ids in
<replaceable>/proc</replaceable> or the network interface inf
ro
mation
<replaceable>/proc</replaceable> or the network interface inf
or
mation
in <replaceable>/sys/class/net</replaceable>. The namespace of the
in <replaceable>/sys/class/net</replaceable>. The namespace of the
process mounting the pseudo-filesystems determines what information
process mounting the pseudo-filesystems determines what information
is shown, <emphasis>not</emphasis> the namespace of the process
is shown, <emphasis>not</emphasis> the namespace of the process
...
...
doc/ja/lxc-console.sgml.in
View file @
36b33520
...
@@ -140,7 +140,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -140,7 +140,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<!--
<!--
Specify the tty number to connect to or 0 for the console. If not
Specify the tty number to connect to or 0 for the console. If not
specified the next available tty number will be automatically
specified the next available tty number will be automatically
cho
o
sen by the container.
chosen by the container.
-->
-->
接続する tty の番号か,コンソールに接続するために 0 を指定します.指定しない場合は,次に利用可能な tty 番号を自動的にコンテナが選択します.
接続する tty の番号か,コンソールに接続するために 0 を指定します.指定しない場合は,次に利用可能な tty 番号を自動的にコンテナが選択します.
</para>
</para>
...
...
doc/ja/lxc-create.sgml.in
View file @
36b33520
...
@@ -69,7 +69,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -69,7 +69,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<para>
<para>
<!--
<!--
<command>lxc-create</command> creates a system object where is
<command>lxc-create</command> creates a system object where is
stored the configuration information
s
and where can be stored
stored the configuration information and where can be stored
user information. The identifier <replaceable>name</replaceable>
user information. The identifier <replaceable>name</replaceable>
is used to specify the container to be used with the different
is used to specify the container to be used with the different
lxc commands.
lxc commands.
...
@@ -88,7 +88,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -88,7 +88,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<!--
<!--
The object is the definition of the different resources an
The object is the definition of the different resources an
application can use or can see. The more the configuration file
application can use or can see. The more the configuration file
contains information
s
, the more the container is isolated and
contains information, the more the container is isolated and
the more the application is jailed.
the more the application is jailed.
-->
-->
オブジェクトは,アプリケーションが使用したり,参照したりする様々なリソースの定義です.設定ファイルがより多くの情報を持つほど,コンテナやアプリケーションはより隔離されたものになります.
オブジェクトは,アプリケーションが使用したり,参照したりする様々なリソースの定義です.設定ファイルがより多くの情報を持つほど,コンテナやアプリケーションはより隔離されたものになります.
...
...
doc/ja/lxc-execute.sgml.in
View file @
36b33520
...
@@ -97,7 +97,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -97,7 +97,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
process, <command>lxc-init</command>.
process, <command>lxc-init</command>.
This lxc-init after launching the specified command,
This lxc-init after launching the specified command,
will wait for its end and all other reparented processes.
will wait for its end and all other reparented processes.
(t
hat allows t
o support daemons in the container).
(to support daemons in the container).
In other words, in the
In other words, in the
container, <command>lxc-init</command> has the pid 1 and the
container, <command>lxc-init</command> has the pid 1 and the
first process of the application has the pid 2.
first process of the application has the pid 2.
...
...
doc/ja/lxc.conf.sgml.in
View file @
36b33520
...
@@ -126,7 +126,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -126,7 +126,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<title><!-- Architecture -->アーキテクチャ</title>
<title><!-- Architecture -->アーキテクチャ</title>
<para>
<para>
<!--
<!--
Allows to set the architecture for the container. For example,
Allows
one
to set the architecture for the container. For example,
set a 32bits architecture for a container running 32bits
set a 32bits architecture for a container running 32bits
binaries on a 64bits host. That fixes the container scripts
binaries on a 64bits host. That fixes the container scripts
which rely on the architecture to do some work like
which rely on the architecture to do some work like
...
@@ -199,7 +199,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -199,7 +199,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<title><!-- Stop signal -->停止時のシグナル</title>
<title><!-- Stop signal -->停止時のシグナル</title>
<para>
<para>
<!--
<!--
Allows to specify signal name or number, sent by lxc-stop to
Allows
one
to specify signal name or number, sent by lxc-stop to
shutdown the container. Different init systems could use
shutdown the container. Different init systems could use
different signals to perform clean shutdown sequence. Option
different signals to perform clean shutdown sequence. Option
allows signal to be specified in kill(1) fashion, e.g.
allows signal to be specified in kill(1) fashion, e.g.
...
...
doc/ja/lxc.sgml.in
View file @
36b33520
...
@@ -531,7 +531,7 @@ rootfs
...
@@ -531,7 +531,7 @@ rootfs
process, <command>lxc-init</command>.
process, <command>lxc-init</command>.
This lxc-init after launching the specified command,
This lxc-init after launching the specified command,
will wait for its end and all other reparented processes.
will wait for its end and all other reparented processes.
(t
hat allows t
o support daemons in the container).
(to support daemons in the container).
In other words, in the
In other words, in the
container, <command>lxc-init</command> has the pid 1 and the
container, <command>lxc-init</command> has the pid 1 and the
first process of the application has the pid 2.
first process of the application has the pid 2.
...
@@ -641,7 +641,7 @@ rootfs
...
@@ -641,7 +641,7 @@ rootfs
When there are a lot of containers, it is hard to follow
When there are a lot of containers, it is hard to follow
what has been created or destroyed, what is running or what are
what has been created or destroyed, what is running or what are
the pids running into a specific container. For this reason, the
the pids running into a specific container. For this reason, the
following commands may be useful
l
:
following commands may be useful:
<programlisting>
<programlisting>
lxc-ls
lxc-ls
lxc-ps --name foo
lxc-ps --name foo
...
@@ -704,7 +704,7 @@ rootfs
...
@@ -704,7 +704,7 @@ rootfs
<para>
<para>
<!--
<!--
<command>lxc-info</command> gives information
s
for a specific
<command>lxc-info</command> gives information for a specific
container, at present time, only the state of the container is
container, at present time, only the state of the container is
displayed.
displayed.
-->
-->
...
@@ -757,7 +757,7 @@ rootfs
...
@@ -757,7 +757,7 @@ rootfs
<para>
<para>
<!--
<!--
The following command will display the socket information
s
for
The following command will display the socket information for
the container 'foo'.
the container 'foo'.
<programlisting>
<programlisting>
lxc-netstat -n foo -tano
lxc-netstat -n foo -tano
...
...
doc/lxc-attach.sgml.in
View file @
36b33520
...
@@ -271,7 +271,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
...
@@ -271,7 +271,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<replaceable>/sys</replaceable> filesystems contain information
<replaceable>/sys</replaceable> filesystems contain information
about some quantities that are affected by namespaces, such as
about some quantities that are affected by namespaces, such as
the directories named after process ids in
the directories named after process ids in
<replaceable>/proc</replaceable> or the network interface inf
ro
mation
<replaceable>/proc</replaceable> or the network interface inf
or
mation
in <replaceable>/sys/class/net</replaceable>. The namespace of the
in <replaceable>/sys/class/net</replaceable>. The namespace of the
process mounting the pseudo-filesystems determines what information
process mounting the pseudo-filesystems determines what information
is shown, <emphasis>not</emphasis> the namespace of the process
is shown, <emphasis>not</emphasis> the namespace of the process
...
...
doc/lxc-console.sgml.in
View file @
36b33520
...
@@ -115,7 +115,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
...
@@ -115,7 +115,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<para>
<para>
Specify the tty number to connect to or 0 for the console. If not
Specify the tty number to connect to or 0 for the console. If not
specified the next available tty number will be automatically
specified the next available tty number will be automatically
cho
o
sen by the container.
chosen by the container.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
...
doc/lxc-create.sgml.in
View file @
36b33520
...
@@ -62,7 +62,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
...
@@ -62,7 +62,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<para>
<para>
<command>lxc-create</command> creates a system object where is
<command>lxc-create</command> creates a system object where is
stored the configuration information
s
and where can be stored
stored the configuration information and where can be stored
user information. The identifier <replaceable>name</replaceable>
user information. The identifier <replaceable>name</replaceable>
is used to specify the container to be used with the different
is used to specify the container to be used with the different
lxc commands.
lxc commands.
...
@@ -75,7 +75,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
...
@@ -75,7 +75,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<para>
<para>
The object is the definition of the different resources an
The object is the definition of the different resources an
application can use or can see. The more the configuration file
application can use or can see. The more the configuration file
contains information
s
, the more the container is isolated and
contains information, the more the container is isolated and
the more the application is jailed.
the more the application is jailed.
</para>
</para>
...
...
doc/lxc-execute.sgml.in
View file @
36b33520
...
@@ -81,7 +81,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
...
@@ -81,7 +81,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
process, <command>lxc-init</command>.
process, <command>lxc-init</command>.
This lxc-init after launching the specified command,
This lxc-init after launching the specified command,
will wait for its end and all other reparented processes.
will wait for its end and all other reparented processes.
(t
hat allows t
o support daemons in the container).
(to support daemons in the container).
In other words, in the
In other words, in the
container, <command>lxc-init</command> has the pid 1 and the
container, <command>lxc-init</command> has the pid 1 and the
first process of the application has the pid 2.
first process of the application has the pid 2.
...
...
doc/lxc.conf.sgml.in
View file @
36b33520
...
@@ -104,7 +104,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
...
@@ -104,7 +104,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<refsect2>
<refsect2>
<title>Architecture</title>
<title>Architecture</title>
<para>
<para>
Allows to set the architecture for the container. For example,
Allows
one
to set the architecture for the container. For example,
set a 32bits architecture for a container running 32bits
set a 32bits architecture for a container running 32bits
binaries on a 64bits host. This fixes the container scripts
binaries on a 64bits host. This fixes the container scripts
which rely on the architecture to do some work like
which rely on the architecture to do some work like
...
@@ -158,7 +158,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
...
@@ -158,7 +158,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<refsect2>
<refsect2>
<title>Stop signal</title>
<title>Stop signal</title>
<para>
<para>
Allows to specify signal name or number, sent by lxc-stop to
Allows
one
to specify signal name or number, sent by lxc-stop to
shutdown the container. Different init systems could use
shutdown the container. Different init systems could use
different signals to perform clean shutdown sequence. Option
different signals to perform clean shutdown sequence. Option
allows signal to be specified in kill(1) fashion, e.g.
allows signal to be specified in kill(1) fashion, e.g.
...
...
doc/lxc.sgml.in
View file @
36b33520
...
@@ -380,7 +380,7 @@ rootfs
...
@@ -380,7 +380,7 @@ rootfs
process, <command>lxc-init</command>.
process, <command>lxc-init</command>.
This lxc-init after launching the specified command,
This lxc-init after launching the specified command,
will wait for its end and all other reparented processes.
will wait for its end and all other reparented processes.
(t
hat allows t
o support daemons in the container).
(to support daemons in the container).
In other words, in the
In other words, in the
container, <command>lxc-init</command> has the pid 1 and the
container, <command>lxc-init</command> has the pid 1 and the
first process of the application has the pid 2.
first process of the application has the pid 2.
...
@@ -454,7 +454,7 @@ rootfs
...
@@ -454,7 +454,7 @@ rootfs
<para>When there are a lot of containers, it is hard to follow
<para>When there are a lot of containers, it is hard to follow
what has been created or destroyed, what is running or what are
what has been created or destroyed, what is running or what are
the pids running into a specific container. For this reason, the
the pids running into a specific container. For this reason, the
following commands may be useful
l
:
following commands may be useful:
<programlisting>
<programlisting>
lxc-ls
lxc-ls
lxc-ps --name foo
lxc-ps --name foo
...
@@ -490,7 +490,7 @@ rootfs
...
@@ -490,7 +490,7 @@ rootfs
</para>
</para>
<para>
<para>
<command>lxc-info</command> gives information
s
for a specific
<command>lxc-info</command> gives information for a specific
container, at present time, only the state of the container is
container, at present time, only the state of the container is
displayed.
displayed.
</para>
</para>
...
@@ -522,7 +522,7 @@ rootfs
...
@@ -522,7 +522,7 @@ rootfs
</para>
</para>
<para>
<para>
The following command will display the socket information
s
for
The following command will display the socket information for
the container 'foo'.
the container 'foo'.
<programlisting>
<programlisting>
lxc-netstat -n foo -tano
lxc-netstat -n foo -tano
...
...
src/lxc/commands.c
View file @
36b33520
...
@@ -736,7 +736,7 @@ static int lxc_cmd_process(int fd, struct lxc_cmd_req *req,
...
@@ -736,7 +736,7 @@ static int lxc_cmd_process(int fd, struct lxc_cmd_req *req,
};
};
if
(
req
->
cmd
<
0
||
req
->
cmd
>=
LXC_CMD_MAX
)
{
if
(
req
->
cmd
<
0
||
req
->
cmd
>=
LXC_CMD_MAX
)
{
ERROR
(
"bad cmd %d rec
ie
ved"
,
req
->
cmd
);
ERROR
(
"bad cmd %d rec
ei
ved"
,
req
->
cmd
);
return
-
1
;
return
-
1
;
}
}
return
cb
[
req
->
cmd
](
fd
,
req
,
handler
);
return
cb
[
req
->
cmd
](
fd
,
req
,
handler
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment