mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 05:04:50 +00:00
Teach libdisk about 'twe' disks.
This commit is contained in:
parent
a79bb513a1
commit
880479f425
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60908
|
@ -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 {
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue