Patent ID: 9658922
Date: 2017-05-23
CPC Classifications: G06F

Claim:
1. A non-transitory computer-readable recording medium having stored therein a writing inspection program for causing a computer to execute a process for writing inspection, the process comprising: controlling input and output of data into and from a storage device having a plurality of regions; changing a first counter value corresponding to a first region serving as a writing target and being retained in a retainer, the retainer retaining a plurality of counter values, each of the counter values representing a number of times of data writing into each of the plurality of regions; obtaining the first counter value of the first region from the retainer; generating block data by attaching the first counter value obtained from the retainer to data to be written into the first region; writing the block data into the first region; when the first counter value in the first region satisfies a predetermined condition, reading the block data from the first region after the writing, and comparing the read block data with the block data written into the first region, and when the read block data does not match the written block data, notifying an error.