cleanup: add log file for file space usage 81/232081/7 submit/tizen/20200429.062821
authorYunmi Ha <yunmi.ha@samsung.com>
Tue, 28 Apr 2020 06:20:30 +0000 (15:20 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Wed, 29 Apr 2020 05:51:13 +0000 (14:51 +0900)
commite8cab4f3a451b81930d19790d5cf951b269a1c53
tree094ac3ecb2a1376c439fc1c7a0ee60cd3b926b55
parentcfe57770196510e1c3b9f064fc44e4ad1da373ba
cleanup: add log file for file space usage

- When cleanup is needed, save result of "du -ah" command.
- system type: "du -ah /opt/ > /var/log/storage/opt_full.log"
- user type: "du -ah /opt/usr/ > /var/log/storage/opt_usr_full.log"

Change-Id: I1c13873e88bb8305b038ba93604bc572f3e1b48b
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/storage/cleanup.c