Network mounts from fstab shown twice in the sidebar.
Use cases
At work, I have a good dozen of samba shares which I mount to directories $HOME/mnt/<servername>/<sharename>
because I need them all the time. They are mounted via /etc/fstab
.
Half of those mounts are testing environments of our software which is installed in different versions on different (virtual) servers, e.g., there are the servers/shares srv-sw1.0/sw
, srv-sw1.1/sw
, srv-sw1.2/sw
, ...
Next to these shares that are mounted automatically at boot, I access several other machines (both samba or ssh) from time to time.
These are my problems:
- The locally mounted samba shares are listed twice, once with the disk- or mount-symbol (a black square with a white stripe at the bottom) and once with the network folder symbol.
- Both mounts and shares are just named with their folder/share name. So according to my example above, I have 6 mounts named
sw
and six network folders namedsw
. To distinguish them, I have to hover over them to the full path of the mount point (in case of the/etc/fstab
mounted shares) or theprotocol://server/dir
URL in case of network folders accessed ac hoc. - It's just too much. I mount the good dozen shares in
/etc/fstab
to local mount points so that they are quickly accessible. I don't want them in the sidebar.
Desired behavior
- Get rid of the duplicate items in the sidebar. If a network folder is mounted to a local directory, just show it as disk/mount-symbol and not once again as network folder.
- Make mounts/network folders with the same name easily distinguishable, e.g., add the server for network folders and the parent directory for mounts.
- Add an option to tell nautilus not to show locally mounted network folders altogether.
Benefits of the solution
No clutter when many shares/network folders are accessed. Better distinguishability with mounts/network folders of the same name.
Possible drawbacks
I don't see any.
Edited by António Fernandes