summaryrefslogtreecommitdiffstats
path: root/isys/devnodes.c
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-03-12 20:46:03 +0000
committerMike Fulbright <msf@redhat.com>2001-03-12 20:46:03 +0000
commitb4b415a462e5067f9dc05005ea6f1015bd5b3655 (patch)
treeab17a454c67e2d09724235a1b9efe1a27081dfc1 /isys/devnodes.c
parentff9735bf5391126a4bdf1b19fa0239269dc9dbb3 (diff)
downloadanaconda-b4b415a462e5067f9dc05005ea6f1015bd5b3655.tar.gz
anaconda-b4b415a462e5067f9dc05005ea6f1015bd5b3655.tar.xz
anaconda-b4b415a462e5067f9dc05005ea6f1015bd5b3655.zip
added support up to /dev/hdt
Diffstat (limited to 'isys/devnodes.c')
-rw-r--r--isys/devnodes.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/isys/devnodes.c b/isys/devnodes.c
index c53728365..624176bf3 100644
--- a/isys/devnodes.c
+++ b/isys/devnodes.c
@@ -106,6 +106,30 @@ int devMakeInode(char * devName, char * path) {
major = 34, minor = 0;
else if (devName[2] == 'h')
major = 34, minor = 64;
+ else if (devName[2] == 'i')
+ major = 56, minor = 0;
+ else if (devName[2] == 'j')
+ major = 56, minor = 64;
+ else if (devName[2] == 'k')
+ major = 57, minor = 0;
+ else if (devName[2] == 'l')
+ major = 57, minor = 64;
+ else if (devName[2] == 'm')
+ major = 88, minor = 0;
+ else if (devName[2] == 'n')
+ major = 88, minor = 64;
+ else if (devName[2] == 'o')
+ major = 89, minor = 0;
+ else if (devName[2] == 'p')
+ major = 89, minor = 64;
+ else if (devName[2] == 'q')
+ major = 90, minor = 0;
+ else if (devName[2] == 'r')
+ major = 90, minor = 64;
+ else if (devName[2] == 's')
+ major = 91, minor = 0;
+ else if (devName[2] == 't')
+ major = 91, minor = 64;
else
return -1;