summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-29 14:54:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-29 14:54:56 +0000
commitc69d617e108573a2a76df4a29578fbf6d97d64e9 (patch)
tree537e0952db5f3388a217ec3f9f89712977e0df77 /perl-install/devices.pm
parenteff67faa909b3b52902c49a2b29cb4b153bf5cad (diff)
downloaddrakx-c69d617e108573a2a76df4a29578fbf6d97d64e9.tar
drakx-c69d617e108573a2a76df4a29578fbf6d97d64e9.tar.gz
drakx-c69d617e108573a2a76df4a29578fbf6d97d64e9.tar.bz2
drakx-c69d617e108573a2a76df4a29578fbf6d97d64e9.tar.xz
drakx-c69d617e108573a2a76df4a29578fbf6d97d64e9.zip
allow creation of "/dev/null" device
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 7fd8a8990..df01b11e3 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -147,6 +147,7 @@ sub entry {
"usbmouse"=> [ c::S_IFCHR(), 13, 63], #- aka /dev/input/mice
"adbmouse"=> [ c::S_IFCHR(), 10, 10], #- PPC
"zero" => [ c::S_IFCHR(), 1, 5 ],
+ "null" => [ c::S_IFCHR(), 1, 3 ],
}}{$_} or die "unknown device $_ (caller is " . join(":", caller()) . ")" };
}
($type, $major, $minor);