switch (type) {
case DEVICE_TYPE_DISK:
return "disk";
+ case DEVICE_TYPE_USB:
+ return "usb";
case DEVICE_TYPE_NETWORK:
return "network";
case DEVICE_TYPE_OPTICAL:
return "optical";
+ case DEVICE_TYPE_ANY:
+ return "any";
case DEVICE_TYPE_UNKNOWN:
return "unknown";
}