summaryrefslogtreecommitdiff
path: root/lib/libdisk
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2001-01-23 18:42:11 +0000
committerMike Smith <msmith@FreeBSD.org>2001-01-23 18:42:11 +0000
commita2139c68c31466eba9e43290d7ab6343dc762eb6 (patch)
tree6ca9761d46c66b06cc00de3aec23aa8f992103d5 /lib/libdisk
parentcffb3cc47d10dbea06d0e9c77383d1f4be743868 (diff)
Notes
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/create_chunk.c2
-rw-r--r--lib/libdisk/disk.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index e133688ec9aa..5d69f572ff61 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -298,6 +298,8 @@ MakeDev(struct chunk *c1, const char *path)
cmaj = 133, p += 4;
else if (!strncmp(p, "twed", 4))
cmaj = 147, p += 4;
+ else if (!strncmp(p, "aacd", 4))
+ cmaj = 151, p += 4;
else if (!strncmp(p, "ar", 2)) /* ATA RAID */
cmaj = 157, p += 2;
else if (!strncmp(p, "da", 2)) /* CAM support */
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 0330b7fe4892..1bf988a110ac 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -461,7 +461,7 @@ Collapse_Disk(struct disk *d)
}
#endif
-static char * device_list[] = {"wd", "ad", "da", "wfd", "fla", "idad", "mlxd", "amrd", "twed", "ar", 0};
+static char * device_list[] = {"wd", "aacd", "ad", "da", "wfd", "fla", "idad", "mlxd", "amrd", "twed", "ar", 0};
char **
Disk_Names()