Of course, the whole issue becomes even more pointed as we're having the same information provided for in sysfs; so actually there's no need to call sg_inq in the first place ...