summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-11-22 14:45:16 +0000
committerOlivier Blin <oblin@mandriva.org>2005-11-22 14:45:16 +0000
commit4887676c4a179a7c571e30c317a76d6282ba72f1 (patch)
tree6982ad98ca9aca015881b54c66ba82ff75d513ad /perl-install/devices.pm
parentf6164f8f1f68dc6c9534a612f8a8a52753853792 (diff)
downloaddrakx-backup-do-not-use-4887676c4a179a7c571e30c317a76d6282ba72f1.tar
drakx-backup-do-not-use-4887676c4a179a7c571e30c317a76d6282ba72f1.tar.gz
drakx-backup-do-not-use-4887676c4a179a7c571e30c317a76d6282ba72f1.tar.bz2
drakx-backup-do-not-use-4887676c4a179a7c571e30c317a76d6282ba72f1.tar.xz
drakx-backup-do-not-use-4887676c4a179a7c571e30c317a76d6282ba72f1.zip
add some useful devices for live systems build
Diffstat (limited to 'perl-install/devices.pm')
-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);