summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/devices.pm4
2 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 11dabcf4f..2cde3fa50 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- add back ram devices support (used by draklive)
+
Version 12.58 - 5 October 2009
- display_help
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index bdac41a8a..26c7599a0 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -77,6 +77,10 @@ sub entry {
if (/^0x([\da-f]{3,4})$/i) {
$type = c::S_IFBLK();
($major, $minor) = unmakedev(hex $1);
+ } elsif (/^ram(.*)/) {
+ $type = c::S_IFBLK();
+ $major = 1;
+ $minor = $1 eq '' ? 1 : $1;
} elsif (m|^rd/c(\d+)d(\d+)(p(\d+))?|) {
# dac 960 "rd/cXdXXpX"
$type = c::S_IFBLK();