The Implementation of FAT Filesystem for Embedded Device
Yu Ren · Journal of Hangzhou Dianzi University · 2006
With the increasement of the complexity of embedded system,the capability of storage and manipulation of mass data is definitely required.Flash,with its various unique features,is regarded as the first choice of the storage device for embedded system.In addition,concerning of its compact size and proper capability,DOS filesystem is widely adopted in the embedded system which only possesses limitary resource.Concerning the fact that the structure for hard disk and FLASH differ variously from each other,this article emphasizes the design of buffer zone in the procedure carried out during the transplantation of file system from hard disk to FLASH by the means of comparing several algorithms commonly used.Finally,twice chance algorithm,accompanied by LRU and dynamic kept buffer zone,based on a double-forward link list and a hash table is adopted.