Results 1 to 1 of 1
Thread: mounting a CIFS share on startup
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2011
mounting a CIFS share on startup
I have a Xtreamer media center which has an option to auto mount shares on startup.
The streamer uses this Linux distrib:
Linux myxtreamer 184.108.40.206-VENUS #72 Thu Jan 13 18:54:10 KST 2011 mips unknown
This script was created when choosing the automount option:
if [ -d '/tmp/myshare' ]; then
echo 'downloads(MY-PC:10.0.0.1).smb' >> /tmp/myshare/share.list
mkdir -p '/tmp/myshare/downloads(MY-PC:10.0.0.1).smb'
mount -t cifs '//10.0.0.1/downloads' '/tmp/myshare/downloads(MY-PC:10.0.0.1).smb' -o username=t,password=t,iocharset=utf8,mapchars,soft
When I ssh into the streamer I can see the path but nothing inside it.
I have to run the "mount" command manually and only then I see the files inside the share.