Data recovery method in a file system

PURPOSE: The method for repairing the information of a file system is provided to store file management information with consistency, and prevent file data from being lost, by recovering the information which was processed when the file system restarts. CONSTITUTION: A function corresponding to a task, which is defined by a preset procedure, is performed(406). A repair step flag that represents the execution of a certain function is set, and then the information of the certain function is stored in a predetermined area of a RAM(407). When a restart condition is generated(401-403), a repair process is carried out if it is detected that the repair step flag stored in the SRAM has been set(405).