drive_get_attributes
nvlist_t *drive_get_attributes(descriptor_t *desc, int *errp);
attrs = drive_get_attributes(dp, errp);