A head slider for a hard disk drive is disclosed. The slider includes an operation device associated with a read/write head and adapted to change the flying height between the read/write head and a disk in relation to temperature. The operation device may be formed from a material that expands and contracts in relation to temperature in order to change the flying height, or a material that undergoes bending deformation in relation to temperature in order to change the flying height.