Add externs to avoid multiple definitions, and then add missing definitions.
[rrq/maintain_lilo.git] / man / lilo-uuid-diskid.8
1 .\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28)
2 .\"
3 .\" Standard preamble:
4 .\" ========================================================================
5 .de Sp \" Vertical space (when we can't use .PP)
6 .if t .sp .5v
7 .if n .sp
8 ..
9 .de Vb \" Begin verbatim text
10 .ft CW
11 .nf
12 .ne \\$1
13 ..
14 .de Ve \" End verbatim text
15 .ft R
16 .fi
17 ..
18 .\" Set up some character translations and predefined strings.  \*(-- will
19 .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
20 .\" double quote, and \*(R" will give a right double quote.  \*(C+ will
21 .\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
22 .\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
23 .\" nothing in troff, for use with C<>.
24 .tr \(*W-
25 .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
26 .ie n \{\
27 .    ds -- \(*W-
28 .    ds PI pi
29 .    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 .    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
31 .    ds L" ""
32 .    ds R" ""
33 .    ds C` ""
34 .    ds C' ""
35 'br\}
36 .el\{\
37 .    ds -- \|\(em\|
38 .    ds PI \(*p
39 .    ds L" ``
40 .    ds R" ''
41 .    ds C`
42 .    ds C'
43 'br\}
44 .\"
45 .\" Escape single quotes in literal strings from groff's Unicode transform.
46 .ie \n(.g .ds Aq \(aq
47 .el       .ds Aq '
48 .\"
49 .\" If the F register is turned on, we'll generate index entries on stderr for
50 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
51 .\" entries marked with X<> in POD.  Of course, you'll have to process the
52 .\" output yourself in some meaningful fashion.
53 .\"
54 .\" Avoid warning from groff about undefined register 'F'.
55 .de IX
56 ..
57 .nr rF 0
58 .if \n(.g .if rF .nr rF 1
59 .if (\n(rF:(\n(.g==0)) \{
60 .    if \nF \{
61 .        de IX
62 .        tm Index:\\$1\t\\n%\t"\\$2"
63 ..
64 .        if !\nF==2 \{
65 .            nr % 0
66 .            nr F 2
67 .        \}
68 .    \}
69 .\}
70 .rr rF
71 .\" ========================================================================
72 .\"
73 .IX Title "LILO-UUID-DISKID 8"
74 .TH LILO-UUID-DISKID 8 "2015-11-22" "24.2" "lilo documentation"
75 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
76 .\" way too many mistakes in technical documents.
77 .if n .ad l
78 .nh
79 .SH "NAME"
80 lilo\-uuid\-diskid \- convert boot / root options to diskid and uuid in lilo.conf.
81 .SH "SYNOPSIS"
82 .IX Header "SYNOPSIS"
83 \&\fBlilo-uuid-diskid\fR [\fB\-h\fR] [\fB\-v\fR] [\fBlilo.conf\fR]
84 .SH "DESCRIPTION"
85 .IX Header "DESCRIPTION"
86 This script looks for the boot block device or boot partition and create the
87 right diskid or uuid as boot option. Then it looks for all root partitions
88 and create the right uuids as root options.
89 .PP
90 These conversions are necessary for use with newer kernel (>= 2.6.26) if it
91 use the libata module for parallel and serial \s-1ATA\s0 interfaces of block devices
92 (i. e. hard disks with \s-1IDE\s0 or \s-1SATA\s0 interface, usbsticks).
93 .SH "OPTIONS"
94 .IX Header "OPTIONS"
95 .IP "\fB\-h\fR" 4
96 .IX Item "-h"
97 Print a brief help.
98 .IP "\fB\-v\fR" 4
99 .IX Item "-v"
100 Print verbose messages.
101 .SH "EXAMPLES"
102 .IX Header "EXAMPLES"
103 Lines in the configuration file /etc/lilo.conf:
104 .PP
105 .Vb 2
106 \&  #boot = /dev/sda
107 \&  boot = /dev/disk/by\-id/ata\-SAMSUNG_SV1604N_S01FJ10X999999
108 \&
109 \&  #root = /dev/sda1
110 \&  root = "UUID=18843936\-00f9\-4df0\-a373\-000d05a5dd44"
111 .Ve
112 .SH "COPYRIGHT and LICENSE"
113 .IX Header "COPYRIGHT and LICENSE"
114 Copyright (C) 2010\-2014 Joachim Wiedorn
115 .PP
116 This script is free software; you can redistribute it and/or modify
117 it under the terms of the \s-1GNU\s0 General Public License as published by 
118 the Free Software Foundation; either version 2 of the License, or 
119 (at your option) any later version.
120 .SH "AUTHOR"
121 .IX Header "AUTHOR"
122 \&\fBlilo-uuid-diskid\fR was written by Joachim Wiedorn.
123 .PP
124 This manual page was written by Joachim Wiedorn <joodevel at joonet.de>.
125 .SH "SEE ALSO"
126 .IX Header "SEE ALSO"
127 \&\fBlilo\fR(8), \fBupdate-lilo\fR(8), \fBliloconfig\fR(8)