Skip to content

Nemo does count multiple fileentrys with the same inode multiple times twoards the memory usage. #3103

Description

@ygerlach
 * Nemo version 5.2.4
 * Is issue with desktop or windowed nemo? windowed
 * Distribution - Mint 20.3 Cinamon
 * Graphics hardware *and* driver used - general problem, not important
 * 64 bit

Issue
Selecting two hardlinks of the same file shows twice the hardware useage and not the actual usage

Steps to reproduce

# create a testfile
truncate -s 1G testfile

# create a hardlink
ln testfile testfile2

Select both fileentrys with nemo.
Nemo shows those files with "2 Items selected (2,1GB)"
image

Rightclick -> Properties also shows 2,1GB

Expected behaviour
Nemo shows the same harddrive usage as only one file selected (1GiB).
Deleting both file would only freeup 1GiB not two.

Other Information
I did observe the same bug with nautilus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions