Patent ID: 9389998
Filing Date: 2016-07-12
CPC Classification: G06F,Y02D

Claim Text:
1. A memory formatting method for a memory storage apparatus, wherein the memory storage apparatus has a rewritable non-volatile memory module, and the rewritable non-volatile memory module has a plurality of physical blocks, the memory formatting method comprising: configuring a plurality of logical block addresses for mapping to a portion of the physical blocks; generating a first file system data and a second file system data according to a size of the logical block addresses at initial partition of the logical block addresses; storing the first file system data into at least one first physical block among the physical blocks, wherein the at least one first physical block is mapped to at least one first logical block address among the logical block addresses, wherein the first file system data is updated if data is written to the logical block addresses; selecting at least one second physical block among the physical blocks; storing the second file system data into the at least one second physical block; determining whether a format command is received from a host system; and when the format command is received from the host system, re-mapping the at least one first logical block address to the at least one second physical block, wherein before the step of re-mapping the at least one first logical block address to the at least one second physical block, the second file system data is not updated if data is written to the logical block addresses, and wherein after the step of remapping the at least one first logical block address to the at least one second physical block, the second file system data is updated if data is written to the logical block addresses.