INQUIRY_DEVICE_TYPE
INQUIRY_DEVICE_TYPE, &val) == 1)
INQUIRY_DEVICE_TYPE, (int)inq->inq_dtype);
INQUIRY_DEVICE_TYPE, DTYPE_DIRECT) == DTYPE_RODIRECT)