Not sure how mount works with CentOS, but I have a drive accessed through my CentOS file explorer at the path:
smb://ipaddress/sharedfoldername
And want to permanently mount it to my PC at /mnt/ or at /home/user/desktop but the following commands are probably wrong but could someone tell me how to get the machine to connect to the address and mount it to the place I want it on startup/login?
These commands are probably wrong but it's just what I assumed would do the trick:
sudo mount smb:/ipaddress/sharedfoldername /mnt/
Obviously replacing ipaddress
with my actual IP ADDRESS and replacing sharedfoldername
with my real shared drive name. - But.... it doesn't work - it tells me that smb doesn't work...?... and also says I may have got the mount command wrong too because it brings up mount help...?
It is accessable from CentOS if I access the path smb://ipaddress/sharedfoldername
but I would like it mounted to a specific folder...
Any help would be greatly appreciated. Thanks.
SUBQUESTION
Why is _netfs
not recognised if you look at the command for fstab in @jsbillings comment?