The goal is to reproduce Finder's Connect to Server .. in shell script.
Whereby it is a smb share where the connection has to be made to.
I wonder what are all the sub-operations conducted by Connect to Server, because when I write a shell script carrying out as following
- mkdir <mount point>
- chmod bla bla bla, for the mount point dir
- mount <aimed-smb-path>
all I miss is the smb share entry in Finder window which usually is created
by Finder's Connect to Server but not when I run my script.
What does my script miss?
Whereby it is a smb share where the connection has to be made to.
I wonder what are all the sub-operations conducted by Connect to Server, because when I write a shell script carrying out as following
- mkdir <mount point>
- chmod bla bla bla, for the mount point dir
- mount <aimed-smb-path>
all I miss is the smb share entry in Finder window which usually is created
by Finder's Connect to Server but not when I run my script.
What does my script miss?