Commit 511a6cbf authored by Joachim Wiedorn's avatar Joachim Wiedorn

Add lilo-uuid-diskid script with manpage

parent 31d195a1
......@@ -29,6 +29,7 @@ lilo (1:23.1-1) unstable; urgency=low
* Remove some obsolete manpages.
* Move script liloconfig into directory debian/scripts.
* Add new script update-lilo and its manual page.
* Add new script lilo-uuid-diskid for ID conversion and its manual page.
-- Joachim Wiedorn <ad_debian@joonet.de> Thu, 18 Nov 2010 20:32:02 +0100
......
.\" Automatically generated by Pod::Man 2.1801 (Pod::Simple 3.07)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
..
.\}
.\" ========================================================================
.\"
.IX Title "LILO-UUID-DISKID 8"
.TH LILO-UUID-DISKID 8 "2010-07-24" "23.0" "lilo documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
lilo\-uuid\-diskid \- convert boot / root options to diskid and uuid in lilo.conf.
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
lilo-uuid-diskid [\-h] [\-v] [lilo.conf]
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
This script looks for the boot block device or boot partition and create the
right diskid or uuid as boot option. Then it looks for all root partitions
and create the right uuids as root options.
.PP
These conversions are necessary for use with newer kernel (>= 2.6.26) if it
use the libata module for parallel and serial \s-1ATA\s0 interfaces of block devices
(i. e. hard disks with \s-1IDE\s0 or \s-1SATA\s0 interface, usbsticks).
.SH "OPTIONS"
.IX Header "OPTIONS"
.IP "\fB\-h\fR" 4
.IX Item "-h"
Print a brief help.
.IP "\fB\-v\fR" 4
.IX Item "-v"
Print verbose messages.
.SH "EXAMPLES"
.IX Header "EXAMPLES"
Lines in the configuration file /etc/lilo.conf:
.PP
.Vb 2
\& #boot = /dev/sda
\& boot = /dev/disk/by\-id/ata\-SAMSUNG_SV1604N_S01FJ10X999999
\&
\& #root = /dev/sda1
\& root = "UUID=/dev/disk/by\-uuid/18843936\-00f9\-4df0\-a373\-000d05a5dd44"
.Ve
.SH "COPYRIGHT and LICENSE"
.IX Header "COPYRIGHT and LICENSE"
Copyright (C) 2010 Joachim Wiedorn
.PP
This script is free software; you can redistribute it and/or modify
it under the terms of the \s-1GNU\s0 General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.PP
On Debian systems, the complete text of the \s-1GNU\s0 General Public
License version 2 can be found in `/usr/share/common\-licenses/GPL\-2'.
.SH "AUTHOR"
.IX Header "AUTHOR"
\&\fBlilo-uuid-diskid\fR was written by Joachim Wiedorn.
.PP
This manual page was written by Joachim Wiedorn <ad_debian at joonet.de>
for the Debian project (and may be used by others).
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fBlilo\fR(8), \fBupdate-lilo\fR(8)
=for header
manpage: LILO-UUID-DISKID
section: 8
title: lilo documentation
version: 23.0
datum: 2010-07-24
=encoding utf8
=head1 NAME
lilo-uuid-diskid - convert boot / root options to diskid and uuid in lilo.conf.
=head1 SYNOPSIS
lilo-uuid-diskid [-h] [-v] [lilo.conf]
=head1 DESCRIPTION
This script looks for the boot block device or boot partition and create the
right diskid or uuid as boot option. Then it looks for all root partitions
and create the right uuids as root options.
These conversions are necessary for use with newer kernel (>= 2.6.26) if it
use the libata module for parallel and serial ATA interfaces of block devices
(i. e. hard disks with IDE or SATA interface, usbsticks).
=head1 OPTIONS
=over 4
=item B<-h>
Print a brief help.
=item B<-v>
Print verbose messages.
=back
=head1 EXAMPLES
Lines in the configuration file /etc/lilo.conf:
#boot = /dev/sda
boot = /dev/disk/by-id/ata-SAMSUNG_SV1604N_S01FJ10X999999
#root = /dev/sda1
root = "UUID=/dev/disk/by-uuid/18843936-00f9-4df0-a373-000d05a5dd44"
=head1 COPYRIGHT and LICENSE
Copyright (C) 2010 Joachim Wiedorn
This script is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
On Debian systems, the complete text of the GNU General Public
License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
=head1 AUTHOR
B<lilo-uuid-diskid> was written by Joachim Wiedorn.
This manual page was written by Joachim Wiedorn <ad_debian at joonet.de>
for the Debian project (and may be used by others).
=head1 SEE ALSO
B<lilo>(8), B<update-lilo>(8)
=cut
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment