Add comments to drive type detection