If you love Nemo file explorer - like me - probably found an annoying bug in Fedora SIlverBlue: when mounting partitions ext3
or ext4
in a local disk, they will show duplicated. Like this:
Three partitions 2560x
, datasets
and synco
are all ext3 or ext4 volumes. The rest are NTFS or external drives.
Nemo is installed via rpm-ostree install nemo
, no containers to blame.
I have been trying to fix this since Bluefin, 3 days ago . Then, I switched and installed Nemo in Bluefin-DX, and today I made the last attempt in plain SilverBlue 38. Relatively easy to switch between SilverBlue OS derivatives.
This behavior doesn’t occur in Ubuntu 22.04 but Ubuntu is not an immutable OS as Fedora SilverBlue is.
And the reason is how one mounts the partitions in fstab
in the operating system. Typically, I have been doing this mapping for years and always worked: I map internal and external partitions to, for instance, /media/f0nzie/2560x
. This works well in a “typical” operating system, but it seems won’t work in immutable SilverBlue. Why? Because of SilverBlue special mappings to the directories /media
and /mnt
. After mounting the partitions, SilverBlue automatically “re-routes” them under /run/f0nzie/2560x
, and under /var/run
. Then Nemo sees two mappings for each partition and presents them on the explorer.
The remedy is mapping any internal ext3
or ext4
partitions under /var/mnt
which doesn’t have any symbolic or hard links; that /var/mnt folder exists for a reason then. Avoid any mapping to /media
or /mnt
to prevent partition entries duplication.
After correctly mapping the partitions it will show like this:
No more duplicates!