ELECTRONIC DEVICE AND METHOD FOR OPERATING FILE SYSTEM OF ELECTRONIC DEVICE

    公开(公告)号:EP4318261A1

    公开(公告)日:2024-02-07

    申请号:EP22861582.9

    申请日:2022-08-03

    摘要: An electronic device according to various embodiments may comprise a storage comprising at least one partition, a memory, and a processor electrically connected to the memory and configured to read a file from the memory or to write a file therein. The memory may include a lower file system for compressing and storing a file by using the first partition of the storage, an upper file system for decompressing and storing a file by using the second partition of the storage and/or the lower file system, and a stackable file system for providing a file in response to a request of an application layer by using the lower file system and/or the upper file system. The processor may measure the number of times the stackable file system accesses a file in the lower file system in response to a request of the application layer, decompress a first file, which has been accessed more than a predetermined number of times, in the lower file system and copy same to the upper file system, and control the stackable file system to be able to read the first file in the upper file system, if a request of the application layer is sensed with regard to the copied first file, and to provide same to the application layer.