A hard disk stores information on spinning metal disks covered with a thin magnetic layer. A read–write head, at the end of a moving arm, flies just above the surface: it writes by making tiny areas magnetic in one direction or the other, and reads them back.