News for hackers. Stuff that matters.
Re:Show HN: Dut, a fast Linux disk usage calculator by shellfishgene on Thursday July 11, 2024 @07:08AM (#40935399)
Maybe it could run in the background and use inotify to just update the database all the time, or at least keep track of what needs rescanning?
Re:Show HN: Dut, a fast Linux disk usage calculator by shellfishgene on Thursday July 11, 2024 @07:16AM (#40935441)
Thinking about this some more, does this system not already exist for the disk quota calculation in the kernel? How does that work? Would it be possible for a tool to scan the disk once, and then get information about file modifications from the system that's used to update quota info?