The procedure of the test write process is similar to that of illustrated by the FIG. 2 but the way of feeding back the optical head condition 32 to the recording system and the retrieving system is changed according to the recording medium that is installed to the device.