You are not logged in.

#1 2024-04-28 04:43:03

jooch
Member
Registered: 2010-03-09
Posts: 49

Problems mounting samba share in fstab as disk with Thunar

Well, the title explains most of it, but i really have a need for a network drive on multiple workstations.

Quick specs

  • Simple samba share that needs to be available as disk on every workstation.

  • All clients are XFCE and use Thunar.


Problem
When i put the mount in fstab it does not show up in Thunar, using 'x-gvfs-show' it does show up, yet twice. This is unwanted behaviour. Is that a bug or is my code bad?

//10.42.0.1/shared  /mnt/network-drive   cifs    x-systemd.automount,_netdev,uid=1000,gid=1000,x-gvfs-show   0   0 

Offline

#2 2024-04-28 06:48:50

seth
Member
Registered: 2012-09-03
Posts: 56,103

Re: Problems mounting samba share in fstab as disk with Thunar

What might trip thunar:
you've x-systemd.automount but there's no "noauto"  and generally x-systemd.automount somewhat defeats the purpose of an explicit mount trigger (it gets mounted when you access /mnt/network-drive)

wrt  the second instance:
is one of them actually the share detected for gvfs-smb rather than the cifs mount?

Offline

Board footer

Powered by FluxBB