Imported Upstream version 24.0
[rrq/maintain_lilo.git] / man / lilo-uuid-diskid.8
1 .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07)
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 'br\}
42 .\"
43 .\" Escape single quotes in literal strings from groff's Unicode transform.
44 .ie \n(.g .ds Aq \(aq
45 .el       .ds Aq '
46 .\"
47 .\" If the F register is turned on, we'll generate index entries on stderr for
48 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
49 .\" entries marked with X<> in POD.  Of course, you'll have to process the
50 .\" output yourself in some meaningful fashion.
51 .ie \nF \{\
52 .    de IX
53 .    tm Index:\\$1\t\\n%\t"\\$2"
54 ..
55 .    nr % 0
56 .    rr F
57 .\}
58 .el \{\
59 .    de IX
60 ..
61 .\}
62 .\" ========================================================================
63 .\"
64 .IX Title "LILO-UUID-DISKID 8"
65 .TH LILO-UUID-DISKID 8 "2013-05-01" "23.3" "lilo documentation"
66 .\" For nroff, turn off justification.  Always turn off hyphenation; it makes
67 .\" way too many mistakes in technical documents.
68 .if n .ad l
69 .nh
70 .SH "NAME"
71 lilo\-uuid\-diskid \- convert boot / root options to diskid and uuid in lilo.conf.
72 .SH "SYNOPSIS"
73 .IX Header "SYNOPSIS"
74 \&\fBlilo-uuid-diskid\fR [\fB\-h\fR] [\fB\-v\fR] [\fBlilo.conf\fR]
75 .SH "DESCRIPTION"
76 .IX Header "DESCRIPTION"
77 This script looks for the boot block device or boot partition and create the
78 right diskid or uuid as boot option. Then it looks for all root partitions
79 and create the right uuids as root options.
80 .PP
81 These conversions are necessary for use with newer kernel (>= 2.6.26) if it
82 use the libata module for parallel and serial \s-1ATA\s0 interfaces of block devices
83 (i. e. hard disks with \s-1IDE\s0 or \s-1SATA\s0 interface, usbsticks).
84 .SH "OPTIONS"
85 .IX Header "OPTIONS"
86 .IP "\fB\-h\fR" 4
87 .IX Item "-h"
88 Print a brief help.
89 .IP "\fB\-v\fR" 4
90 .IX Item "-v"
91 Print verbose messages.
92 .SH "EXAMPLES"
93 .IX Header "EXAMPLES"
94 Lines in the configuration file /etc/lilo.conf:
95 .PP
96 .Vb 2
97 \&  #boot = /dev/sda
98 \&  boot = /dev/disk/by\-id/ata\-SAMSUNG_SV1604N_S01FJ10X999999
99 \&
100 \&  #root = /dev/sda1
101 \&  root = "UUID=/dev/disk/by\-uuid/18843936\-00f9\-4df0\-a373\-000d05a5dd44"
102 .Ve
103 .SH "COPYRIGHT and LICENSE"
104 .IX Header "COPYRIGHT and LICENSE"
105 Copyright (C) 2010\-2013 Joachim Wiedorn
106 .PP
107 This script is free software; you can redistribute it and/or modify
108 it under the terms of the \s-1GNU\s0 General Public License as published by 
109 the Free Software Foundation; either version 2 of the License, or 
110 (at your option) any later version.
111 .SH "AUTHOR"
112 .IX Header "AUTHOR"
113 \&\fBlilo-uuid-diskid\fR was written by Joachim Wiedorn.
114 .PP
115 This manual page was written by Joachim Wiedorn <ad_debian at joonet.de>.
116 .SH "SEE ALSO"
117 .IX Header "SEE ALSO"
118 \&\fBlilo\fR(8), \fBupdate-lilo\fR(8), \fBliloconfig\fR(8)