Patent ID: 11868401
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. A method for an electronic device, the method comprising:
receiving a request for access to at least one of a file or a directory stored in a user data region of a file system, included in a non-volatile storage, of the electronic device;
in response to receiving the request, storing, in a volatile memory of the electronic device, first information associated with the at least one of the file or the directory stored in the user data region;
displaying a size of the at least one of the file or the directory using the first information stored in the memory,
determining whether the size of the at least one of the file or the directory is changed;
changing the first information stored in the memory, based on the changed size of the at least one of the file or the directory;
changing at least one second information associated with at least one upper directory of the at least one of the file or the directory, based on the changed size of the at least one of the file or the directory, and
wherein, when the first information is associated with the file, the first information indicates the size of the file,
wherein, when the first information is associated with the directory, the first information indicates a sum of sizes of all subdirectories included in the directory and sizes of all files included in the directory,
wherein the at least one second information comprises information indicating a sum of the sizes of all subdirectories and all files included in the at least one upper directory.