Apparently, "ada" drives are better treated similarly to "da" drives.
This commit is contained in:
parent
9601613ecd
commit
1c4edd12cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226685
@ -476,7 +476,8 @@ disk_OS_get_disks(void)
|
||||
disk_entry->media = DSM_UNKNOWN;
|
||||
disk_entry->removable = SNMP_FALSE;
|
||||
|
||||
if (strncmp(disk_entry->dev_name, "da", 2) == 0) {
|
||||
if (strncmp(disk_entry->dev_name, "da", 2) == 0 ||
|
||||
strncmp(disk_entry->dev_name, "ada", 3) == 0) {
|
||||
disk_entry->media = DSM_HARDDISK;
|
||||
disk_entry->removable = SNMP_FALSE;
|
||||
} else if (strncmp(disk_entry->dev_name, "cd", 2) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user