RSS Bot Posted February 27, 2023 Share Posted February 27, 2023 Description In some file systems, calling du shows an invalid amount of occupied filespace. The solution is to call du with the option --apparent-size Cons: With this option du shows a slightly smaller size than the files can actually take up, because only the net sum of the file sizes is counted without taking into account the hit to the cluster size. Fixes: https://github.com/armbian/build/pull/4857 Jira reference number AR-1556 How Has This Been Tested? Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration. [X] Tested build with/without tmpfs on zfs. [ ] Test B Checklist: [ ] My code follows the style guidelines of this project [ ] I have performed a self-review of my own code [ ] I have commented my code, particularly in hard-to-understand areas [ ] I have made corresponding changes to the documentation [ ] My changes generate no new warnings [ ] Any dependent changes have been merged and published in downstream modules View the full article Link to comment Share on other sites More sharing options...
Recommended Posts