aboutsummaryrefslogtreecommitdiff
path: root/lib/libdisk
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2000-05-25 02:23:47 +0000
committerMike Smith <msmith@FreeBSD.org>2000-05-25 02:23:47 +0000
commit880479f425c8afe7c177b45cd95ad2af81196b43 (patch)
tree61460b71ad8076419b325cd2f30a11d896c6edff /lib/libdisk
parenta79bb513a12e9dde2262b429c680b1a2921a0274 (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 2241811d0135..526cba5c1d89 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -295,6 +295,8 @@ MakeDev(struct chunk *c1, const char *path)
cmaj = 131, p += 4;
else if (!strncmp(p, "amrd", 4))
cmaj = 133, p += 4;
+ else if (!strncmp(p, "twed", 4))
+ cmaj = 1i47, p += 4;
else if (!strncmp(p, "da", 2)) /* CAM support */
cmaj = 13, p += 2;
else {
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 072355289dfd..396dcfe3a1e6 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -441,7 +441,7 @@ Collapse_Disk(struct disk *d)
}
#endif
-static char * device_list[] = {"wd", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "fd", 0};
+static char * device_list[] = {"wd", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "fd", 0};
char **
Disk_Names()