abde3c0fa25d349edc6f2dbe3a5e299b043194e5
[rrq/maintain_lilo.git] / debian / patches / 13_lilo-conf-append-info.patch
1 Package:     lilo
2 Subject:     add info in lilo.conf.5 about append options
3 Author:      Joachim Wiedorn <ad_debian at joonet.de>
4 Bug-Debian:  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368133
5 Forwarded:   yes
6 Last-Update: 2011-06-18
7
8 Add some infos for right usage of "append=" and "addappend=" option
9 in lilo.conf.5.
10 ---
11
12 diff -urN s12/man/lilo.conf.5 s13/man/lilo.conf.5
13 --- s12/man/lilo.conf.5 2011-06-18 16:07:05.112620983 +0200
14 +++ s13/man/lilo.conf.5 2011-06-18 16:32:15.389514340 +0200
15 @@ -705,17 +705,26 @@
16  command line parameters to this kernel.
17  .TP
18  .BI "addappend=" <string>
19 -(22.6) The kernel parameters from the specified string, are concatenated to the
20 +The kernel parameters of this string are concatenated to the
21  parameter(s) from an
22  .B "append="
23 -specification (see below).
24 -The string must be enclosed within double quotes.  Usually, the previous
25 +option (see below).
26 +The string of addappend must be enclosed within double quotes. 
27 +Usually, the previous
28  .B "append="
29 -will specify parameters common to all kernels by appearing in the top,
30 -or global, section of the configuration file and
31 +will set parameters common to all kernels by appearing in the global 
32 +section of the configuration file and
33  .B "addappend="
34  will be used to add local parameter(s) to an individual image.
35 -Addappend= may be used only once per "image=" section.
36 +The addappend option may be used only once per "image=" section.
37 +.sp
38 +If the string is a very long line, this line can be divided 
39 +in more lines using "\\" as last character of a line, e.g.
40 +.sp
41 +.nf
42 +    addappend="noapic acpi=off pci=usepirqmask \\
43 +            pnpbios=off pnpacpi=off noisapnp"
44 +.fi
45  .TP
46  .BI "append=" <string>
47  Appends the options specified to the parameter line passed to the kernel.
48 @@ -724,14 +733,16 @@
49  kernel parameters are separated by a blank space, and the string must be
50  enclosed in double quotes.  A local append= appearing withing an image=
51  section overrides any
52 -global append= appearing in the top section of the configuration file.
53 -Append= may be used only once per "image="
54 +global append= appearing in the global section of the configuration file.
55 +The append option may be used only once per "image="
56  section. To concatenate parameter strings, use "addappend=". Example:
57  .sp
58  .nf
59       append="mem=96M hd=576,64,32 console=ttyS1,9600"
60  .fi
61  .sp
62 +If the string is a very long line, this line can be divided in more lines 
63 +using "\\" as last character of a line. See example of addappend option.
64  .TP
65  .BI "initrd=" <name>
66  Specifies the initial ramdisk image to be loaded with the kernel.  The