Duplicated entry for multi-device BTRFS (and weird behaviour)
With a multi-device BTRFS filesystem (in "RAID 0" mode), GNOME Disks shows an entry for each partition that is part of the FS. When one entry is mounted, clicking on the "unmounted" entry makes it mounted under another path.
I'd also like to add that GNOME Disks also says that the other disk is not mounted and shows a button to mount it (in addition to bug gnome-disk-utility#24).
I have this line in /etc/fstab
: UUID=d5051876-e61b-4e1a-96cf-xxxxxxxf43 /mnt/FastExtraLinuxFiles auto nosuid,nodev,nofail,x-gvfs-show 0 0
.
Affected version
- Nightly flatpak: Yes
- Other: ArchLinux / GNOME Files 41.1
Steps to reproduce
- Use
btrfs device add
to add another disk to an existing FS. - Open GNOME Files.
- Click the "not mounted" entry on the left (this works as many times as you want).
Current behavior
The duplicated-but-unmounted entry is mounted under /run/media/.../FastExtraLinuxFiles{,1,2,3,...}
Expected behavior
The entry should not exist.
Edited by Fabrizio Pelosi