SUMMARY I have four servers sshfs-mountable at directories in /etc/fstab. Two aren't even on. A third wasn't mounted. All three were shown in dolphin under devices section, causing confusion and taking up unnecessary space. STEPS TO REPRODUCE 1. Add computers sshfs-mountable in /etc/fstab. 2. Leave some unmounted/off. 3. See them appear in dolphin anyway. OBSERVED RESULT Devices currently nonexistent are shown. EXPECTED RESULT Don't show devices not currently existent. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Slackware64 14-current/5.20.4 KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.77.0 Qt Version: 5.4.81
They appear because they *can* be mounted.
Clearly most *can't* be mounted in this case, but if you're showing things that can't be, you're also not showing some others that may be able to, like more than one filesystem on the same PC (can be mounted) or optical and USB drives (can't be any more than the servers are off unless a device is on/reading, but you're inconsistent here.)
The thing is we don't have a way to know a network filesystem is not available and thus which can't be mounted. For usb/drive or normal filesystem we simply have more information to filter out things. If there are sshfs-mountable in /etc/fstab they do exist and all of them should be shown. Only the user can make the choice to mount of not mount network filesystems currently. Your issue might be this fact, you probably would like solid (the component that adds disks to the places panel) to filter sshfs/nfs mounts based on network status and if ssh hosts are reachable. This is not a simple thing. Please note you can hide any entry from the places panel using the context menu.
Since they're hideable, this isn't an issue for me, but I still wonder about consistency. I don't mount CDs, USB flash drives, or filesystems (like ISOs) just anywhere; I use classic BSD-style mount points... but out of these four types the servers are the only ones that show up in dolphin. If there's a CD or USB flash drive inserted then these are just as mountable. As for the .ISO filesystem, it's always there, so should always show up also, but doesn't... /dev/sr0 /cd0 auto noauto,user,ro,comment=x-gvfs-show 0 0 /dev/sdb1 /ud0 auto user,noatime 0 0 server1:/ /fs0 fuse.sshfs defaults,_netdev,allow_other,noatime,nodev,noauto 0 0 /home/u/math/ware/slackware/slackware64-14.2-iso/slackware64-14.2-install-dvd.iso /fs5 iso9660 auto 0 0
So it seems you are not using udisk2 for mounting this explains you inconsistency. solid (the component that does drives/mounts detection) relies on udisk to manage dynamic mounts, i.e usb stick, cd... But it uses mtab/fstab to detect filesystem either declared or manually mounted. The ISO case is maybe filtered out on purpose to avoid users confusion with a live-cd iso visible. If I understand correctly, this is not a bug anymore. If so could you change the bug status to RESOLVED WORKSFORME or NOTABUG
Yes I think we can close this.