filter out duplicate paths

Authored by alnikiforov on Mar 10 2020, 6:18 PM.

Description

filter out duplicate paths

Sometimes, one mount path may be encountered multiple times
in /proc/self/mounts file.
For example, when systemd automounting is used.
In such cases Filelight would display such mount paths multiple times
in main window.
Or when multiple filesystems are mounted over same path.
In such cases use information only about last mounted filesystem
since only it is available at the moment.

Also ignore 'autofs' filesystems.

Differential Revision: https://phabricator.kde.org/D27703

Details

Committed
dakonMar 10 2020, 6:18 PM
Differential Revision
D27703: Filelight: filter out duplicate paths
Parents
R352:cd27bd0ec3da: Merge remote-tracking branch 'origin/release/19.12'
Branches
Unknown
Tags
Unknown