From: Paul Fee Date: Tue, 5 Jan 2010 12:11:27 +0000 (+0100) Subject: fix manpage typo X-Git-Tag: lxc-0.6.5~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23a92fad754b6671f11f8908c32718762d7a3fdd;p=thirdparty%2Flxc.git fix manpage typo Fix and clarify some parts of the lxc.conf man page. Signed-off-by: Daniel Lezcano --- diff --git a/doc/lxc.conf.sgml.in b/doc/lxc.conf.sgml.in index fd618165f..4258885f4 100644 --- a/doc/lxc.conf.sgml.in +++ b/doc/lxc.conf.sgml.in @@ -71,7 +71,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Each option in the configuration file has the form key - = value fitting in one line. The '#' caracter means + = value fitting in one line. The '#' character means the line is a comment. @@ -101,11 +101,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Network The network section defines how the network is virtualized in - the container. The network virtualization acts at the layer - two, so in order to use the network, a few information should - be specified to define the network interfaces to be used by - the container. Several virtual interfaces can be assigned and - used in a container either if the system has only one physical + the container. The network virtualization acts at layer + two. In order to use the network virtualization, parameters + must be specified to define the network interfaces of the + container. Several virtual interfaces can be assigned and used + in a container even if the system has only one physical network interface. @@ -118,29 +118,28 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA specify what kind of network virtualization to be used for the container. Each time a field is found a new - round of network configuration begins. By this way - several network virtualization can be specified for the - same container, as well as assigning several network - interfaces for one container. The different + round of network configuration begins. In this way, + several network virtualization types can be specified + for the same container, as well as assigning several + network interfaces for one container. The different virtualization types can be: - a new network stack is created - for the container, but it will not contain any network + will create only the loopback interface. - a new network stack is created, a - peer network device is created with one side assigned to - the container and the other side is attached to a bridge - specified by the . If - the bridge is not specified, then the veth pair device - will be created but not attached to any - bridge. Otherwise, the bridge has to be setup before on - the system, lxc won't handle - any configuration outside of the container. By + a peer network device is created + with one side assigned to the container and the other + side is attached to a bridge specified by + the . If the bridge is + not specified, then the veth pair device will be created + but not attached to any bridge. Otherwise, the bridge + has to be setup before on the + system, lxc won't handle any + configuration outside of the container. By default lxc choose a name for the network device belonging to the outside of the container, this name is handled @@ -151,17 +150,16 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - a new network stack is created, a - vlan interface is linked with the interface specified by + a vlan interface is linked with + the interface specified by the and assigned to the container. The vlan identifier is specified with the option . - a new network stack is - created, a macvlan interface is linked with the - interface specified by + a macvlan interface is linked + with the interface specified by the and assigned to the container. specifies the @@ -189,10 +187,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - a new network stack is created - and an already existing interface specified by - the is assigned to the - container. + an already existing interface + specified by the is + assigned to the container. @@ -230,8 +227,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - the interface name is dynamically allocated, but if an - other name is needed because the configuration files + the interface name is dynamically allocated, but if + another name is needed because the configuration files being used by the container use a generic name, eg. eth0, this option will rename the interface in the container. @@ -246,9 +243,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA the interface mac address is dynamically allocated by - default to the virtual interface, but in some case, this - is needed to resolve a mac address conflict or to have - always the same link-locak ipv6 address. + default to the virtual interface, but in some cases, + this is needed to resolve a mac address conflict or to + always have the same link-local ipv6 address @@ -315,10 +312,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA inittab file is setup to launch a getty on the ttys. This option will specify the number of ttys to be available for the container. The number of getty in the inittab file of the - container and the number of tty specified in this - configuration file should be equal, otherwise the getty will - die and respawn indefinitly giving annoying messages on the - console. + container should not be greater than the number of ttys + specified in this configuration file, otherwise the excess + getty sessions will die and respawn indefinitly giving + annoying messages on the console. @@ -399,9 +396,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA The control group section contains the configuration for the different subsystem. lxc does not check the - correctness of the subsystem name. This has the inconvenient - to have the error being detected at runtime, but the advantage - to support any future subsystem. + correctness of the subsystem name. This has the disadvantage + of not detecting configuration errors until the container is + started, but has the advantage of permitting any future + subsystem. @@ -410,9 +408,12 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - specify the control group value to be set. This field is - the identifier to tell the following keyword is the - literal name of the control group subsystem, + specify the control group value to be set. The + subsystem name is the literal name of the control group + subsystem. The permitted names and the syntax of their + values is not dictated by LXC, instead it depends on the + features of the Linux kernel running at the time the + container is started, eg.