Skip to content

unexpected priority of data display when it changed location between snapshots #54

@AleXoundOS

Description

@AleXoundOS

I have the following Btrfs snapshots:

═══ /<SINGLE>/<DATA>/data/.snapshots ═════════════════════════
p ~125.5 GiB [####################] /2024-05-30T22:18:08+04:00
p ~119.9 GiB [################### ] /2025-11-03T02:58:02+04:00
p ~14.89 GiB [##                  ] /2025-12-02T11:42:05+04:00
p ~1.447 GiB [                    ] /2026-01-07T22:34:33+04:00

2024-05-30T22:18:08+04:00 snapshot is chronologically the first where telegram-chat-export-discs folder has appeared. And it appeared in 2024-05-30T22:18:08+04:00/downloads/telegram-chat-export-discs.

In 2026-01-07T22:34:33+04:00 it was moved from /downloads/telegram-chat-export-discs to /saa/telegram-chat-export-discs.

For unknown reason btdu displays telegram-chat-export-discs in the youngest 2026-01-07T22:34:33+04:00 (and it doesn't show it in older snapshots as data must be shown only in one location, which is expected):

═══ /<SINGLE>/<DATA>/data/.snapshots/2026-01-07T22:34:33+04:00/saa
p ~403.3 MiB [##################??] /telegram-chat-export-discs

But I expected to see telegram-chat-export-discs in 2024-05-30T22:18:08+04:00 as chronologically the first snapshot where telegram-chat-export-discs data appeared.

If it's not a bug, I would like an option to set chronological priority of locations, where data is shown, so that the oldest snapshot shows everything it has, without "leaking" its data to newer snapshots. The second snapshot should display only new data compared to the first (oldest) snapshot. And so on. Regardless of data locations changes between snapshots. Is it possible?


$ btdu --version
btdu v0.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions