摘要 |
A method of storing files in a data storage device includes dividing a storage medium of the data storage device into identically sized storage units having a predetermined size, and indicating a status of each storage unit and relating chains of storage units storing a same file in a file allocation table on the storage medium; grouping the storage units into a plurality of groups having a predetermined number of adjacent storage units; assigning a file size classification when creating a file to be stored on the storage medium, the file size classification corresponding to an estimated amount of data in the file to be stored on the storage medium; and allocating at least one of the groups of adjacent storage units for storing the file if the file size classification is greater than a predetermined value.
|