diff options
author | msmith <msmith@FreeBSD.org> | 2000-05-25 02:23:47 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-05-25 02:23:47 +0000 |
commit | 3040b8e8351eea54cb7e0173c96f40c89cbd9bc2 (patch) | |
tree | 093745751b945c993bbb61fb1f3b755c86cf4bb8 /lib/libdisk | |
parent | 8a498b4b39e5654ca22b52ef6f2752bbf6dcc8a6 (diff) | |
download | FreeBSD-src-3040b8e8351eea54cb7e0173c96f40c89cbd9bc2.zip FreeBSD-src-3040b8e8351eea54cb7e0173c96f40c89cbd9bc2.tar.gz |
Teach libdisk about 'twe' disks.
Diffstat (limited to 'lib/libdisk')
-rw-r--r-- | lib/libdisk/create_chunk.c | 2 | ||||
-rw-r--r-- | lib/libdisk/disk.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index 2241811..526cba5 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 0723552..396dcfe 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() |