summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-03-07 19:14:07 +0000
committerOlivier Blin <oblin@mandriva.org>2006-03-07 19:14:07 +0000
commit80aa5dd248de146f2eb3ec4d4b1dd033edbc1b0a (patch)
tree9a8f03a13cbab83750dbd63c6c8f73ce84a53813 /perl-install
parent2b4f8161ce270aa95d2c08cf0585b466349b133e (diff)
downloaddrakx-80aa5dd248de146f2eb3ec4d4b1dd033edbc1b0a.tar
drakx-80aa5dd248de146f2eb3ec4d4b1dd033edbc1b0a.tar.gz
drakx-80aa5dd248de146f2eb3ec4d4b1dd033edbc1b0a.tar.bz2
drakx-80aa5dd248de146f2eb3ec4d4b1dd033edbc1b0a.tar.xz
drakx-80aa5dd248de146f2eb3ec4d4b1dd033edbc1b0a.zip
add some useful devices for live systems build (backport from HEAD, useful to build One right from 2006.0)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/devices.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index a55ef63ad..f6b04f516 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -122,6 +122,7 @@ sub entry {
"md" => sub { c::S_IFBLK(), 9, 0 },
"nst" => sub { c::S_IFCHR(), 9, 128 },
"sr" => sub { c::S_IFBLK(), 11, 0 },
+ "tty" => sub { c::S_IFCHR(), 4, 0 },
"ttyS" => sub { c::S_IFCHR(), 4, 64 },
"ubd/" => sub { c::S_IFBLK(), 98, 0 },
"dm-" => sub { c::S_IFBLK(), get_dynamic_major('device-mapper'), 0 },
@@ -156,6 +157,11 @@ sub entry {
"vcsa" => [ c::S_IFCHR(), 7, 128 ],
"zero" => [ c::S_IFCHR(), 1, 5 ],
"null" => [ c::S_IFCHR(), 1, 3 ],
+
+ "initrd" => [ c::S_IFBLK(), 1, 250 ],
+ "console" => [ c::S_IFCHR(), 5, 1 ],
+ "systty" => [ c::S_IFCHR(), 4, 0 ],
+ "lvm" => [ c::S_IFBLK(), 109, 0 ],
}}{$_} or internal_error("unknown device $_") };
}
($type, $major, $minor);