Teach libdisk about the AMI and Mylex RAID drivers. You should be able

to install directly to arrays managed by these controllers now.
This commit is contained in:
Mike Smith 1999-11-02 03:40:14 +00:00
parent 97adfbaf83
commit 9ca7957c86
2 changed files with 5 additions and 1 deletions

View File

@ -270,6 +270,10 @@ MakeDev(struct chunk *c1, const char *path)
bmaj = 28, cmaj = 102, p += 3;
else if (!strncmp(p, "ida", 3))
bmaj = 29, cmaj = 109, p += 3;
else if (!strncmp(p, "mlxd", 4))
bmaj = 27, cmaj = 131, p += 4;
else if (!strncmp(p, "amrd", 4))
bmaj = 35, cmaj = 133, p += 4;
else if (!strncmp(p, "da", 2)) /* CAM support */
bmaj = 4, cmaj = 13, p += 2;
else {

View File

@ -375,7 +375,7 @@ Collapse_Disk(struct disk *d)
}
#endif
static char * device_list[] = {"wd", "ad", "sd", "da", "wfd", "fla", "ida", 0};
static char * device_list[] = {"wd", "ad", "sd", "da", "wfd", "fla", "ida", "mlxd", "amrd", 0};
char **
Disk_Names()