diff options
author | Matt Wilson <msw@redhat.com> | 2001-07-10 03:34:10 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-07-10 03:34:10 +0000 |
commit | f879cf8b0cfc1633e24e4c3d4f60d2888fc7288a (patch) | |
tree | 3be0e51c9a35fca9564b9dfd353575099b42f9c6 /isys/devnodes.c | |
parent | 50287085cfbe92330669ea2e235304dca0ba9f9c (diff) | |
download | anaconda-f879cf8b0cfc1633e24e4c3d4f60d2888fc7288a.tar.gz anaconda-f879cf8b0cfc1633e24e4c3d4f60d2888fc7288a.tar.xz anaconda-f879cf8b0cfc1633e24e4c3d4f60d2888fc7288a.zip |
ataraid support
Diffstat (limited to 'isys/devnodes.c')
-rw-r--r-- | isys/devnodes.c | 6 |
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; |