as a new linux user, used Ubuntu 12.10, I tried several tweaks with the SMB shares. I followed this tutorial to mount permanently 4 SMB shares from my local NAS.
To resume, I :
- edit /etc/fstab
added a line like :
//servername/sharename /media/windowsshare cifs credentials=/home/ubuntuusername/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
created a credentials file for security reasons in my home folder (explained in the tutorial)
~/.smbcredentials
It work perfectly, they are automounted on each reboot, but when I logon, I all the time get 4 file explorer open with each share.
It is possible to avoid these file explorer window to be opened on every reboot ? I guess it's related to X or via a explicit deny or these graphical mount, but I don't have any clues on how to proceed
Thank you for your time,
Thank you
– Douda Dec 18 '12 at 21:36/media
is for computer generated mounts such as when you plugin an USB drive./mnt
is for admin to mount things manually or by editingfstab
etc. See http://askubuntu.com/questions/22215/why-have-both-mnt-and-media . – user68186 Dec 18 '12 at 21:38