1. A data storage device comprising: a data storing medium; a sector buffer in which write data to the data storing medium and/or read data from the data storing medium are temporally stored; a cache mode determining section configured to determine a cache mode based on a file system of data stored on the data storing medium; and a control section handling the sector buffer according to the determined cache mode.