Comment # 14 on bug 1192996 from Stanislav Brabec
Using the shortest path is a very pragmatic approach, but it breaks in some
typical double mounts done by advanced users (and double mounts are used mostly
by advanced users):

/home vs. /mnt. One wants to see /home, will see /mnt

/home/snapshots/2024-01-01 vs. /mnt/1. One wants to see
/home/snapshots/2024-01-01, but will see /mnt/1

Even worse, the kernel mount interface is not ideal for btrfs, and it could be
confused by bind mounts combined with subvolume mounts.

Adding yet another heuristic to this heuristic could produce unexpected
results.

Hopefully, a new API exists: mountfd. But it is still buggy and disabled in all
recent products including Tumbleweed.


You are receiving this mail because: