fix linux disk detection