https://bugs.kde.org/show_bug.cgi?id=501110

            Bug ID: 501110
           Summary: Filelight does wrongly calculate because of hard links
    Classification: Applications
           Product: filelight
           Version: 24.12.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: branch8...@protonmail.com
                CC: martin.sandsm...@kde.org
  Target Milestone: ---

SUMMARY
Filelight does wrongly calculate the size of the /var/lib/flatpak/ directory.
This directory contains many hard links. Because of this Filelight includes
files multiple times into the size calculation.

One gets the correct size of the directory with this bash argument:
du -sh /var/lib/flatpak/

STEPS TO REPRODUCE
1. Open Filelight
2. Let Filelight calculate the size of /var/

OBSERVED RESULT

The directory size that Filelight gives for /var/lib/flatpak/ is twice as large
as the size that du returns.

EXPECTED RESULT

The directory size that Filelight gives for /var/lib/flatpak/ is the same as
that which du returns.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 41
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to