摘要 |
PROBLEM TO BE SOLVED: To suppress increase of a processing time for file open, file creation or the like caused by increase of the number of files. SOLUTION: When the number of files on a directory (hereafter referred to as DIR) is small, a file is created directly on the DIR. When creating a file with files over the number of n, subdirectories (hereafter referred to as SDIR) to the number of m having respectively a number as the name of the SDIR are created on the DIR, and file characteristic numbers created sequentially with file names are allocated to the files, and an SDIR wherein the numerical value of a part of the file characteristic number agrees with the numerical value of a part of the number of the SDIR name is selected from the SDIR's to the number of m, and the file is created on the selected SDIR. When the number of files on the SDIR exceeds n again, SDIR's to the number of m are created on the SDIR, and the files are allocated to the SDIR's according to the file characteristic numbers, to thereby prevent the number of files on one DIR and one SDIR from exceeding n. COPYRIGHT: (C)2003,JPO
|