summaryrefslogtreecommitdiffstats
path: root/isys/devnodes.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-10 03:34:10 +0000
committerMatt Wilson <msw@redhat.com>2001-07-10 03:34:10 +0000
commitf879cf8b0cfc1633e24e4c3d4f60d2888fc7288a (patch)
tree3be0e51c9a35fca9564b9dfd353575099b42f9c6 /isys/devnodes.c
parent50287085cfbe92330669ea2e235304dca0ba9f9c (diff)
downloadanaconda-f879cf8b0cfc1633e24e4c3d4f60d2888fc7288a.tar.gz
anaconda-f879cf8b0cfc1633e24e4c3d4f60d2888fc7288a.tar.xz
anaconda-f879cf8b0cfc1633e24e4c3d4f60d2888fc7288a.zip
ataraid support
Diffstat (limited to 'isys/devnodes.c')
-rw-r--r--isys/devnodes.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/isys/devnodes.c b/isys/devnodes.c
index 624176bf3..45f396eb1 100644
--- a/isys/devnodes.c
+++ b/isys/devnodes.c
@@ -164,6 +164,12 @@ int devMakeInode(char * devName, char * path) {
minor = (devName[9] - '0') * 16; /* disk */
if (strlen(devName) > 10) /* partition */
minor += atoi(devName + 11);
+ } else if (!strncmp(devName, "ataraid/", 8)) {
+ type = S_IFBLK;
+ major = 114; /* controller */
+ minor = (devName[9] - '0') * 16; /* disk */
+ if (strlen(devName) > 10) /* partition */
+ minor += atoi(devName + 11);
} else if (!strncmp(devName, "i2o/", 4)) {
/* I2O Block Device "i2o/hda */
type = S_IFBLK;