use device for grep, not the path.