A file system having a cache memory management function is provided to minimize disk access by installing a cache memory controlling module to the inside of the file system and utilizing the cache memory controlling module. If a read command for a file is received from an API(Application Program Interface)(21), a cache memory manager(23) reads file contents from a cache memory(40) and provides the read file contents to the API. If the corresponding file contents are not found in the cache memory, the cache memory controller stores the corresponding file contents accessed by a device driver(22) to the cache memory. A file reference frequency manager(24) increases a reference frequency of the file if the file is searched from a reference frequency table. The cache memory manager stores the file contents over the predetermined reference frequency to the cache memory by comparing the reference frequency stored in the table with the predetermined reference frequency.