Teach libdisk about 'twe' disks.

This commit is contained in:
Mike Smith 2000-05-25 02:23:47 +00:00
parent a79bb513a1
commit 880479f425
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60908
2 changed files with 3 additions and 1 deletions

View file

@ -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 {

View file

@ -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()