LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2003, 05:41 PM   #1
Newman_SCO
Member
 
Registered: Jul 2003
Location: Scotland, Fife
Distribution: Mandrake 9.1
Posts: 31

Rep: Reputation: 15
Arrow Quick mountscript question?


Hi there.

I used LinNeighborhood to make a mount script.
Which is:
#! /bin/sh

# SMB mount script
# created by LinNeighborhood

smbmount //AOL083/Full\040Albums /networkbrowse/AOL083/Full\040Albums/ -o username=admin%,fmask=644,dmask=755,uid=502,gid=502,ip=192.168.1.253,debug=0,workgroup=TITAN
smbmount //AOL083/Mp3\040Singles /networkbrowse/AOL083/Mp3\040Singles/ -o username=admin%,fmask=644,dmask=755,uid=502,gid=502,ip=192.168.1.253,debug=0,workgroup=TITAN
smbmount //AOL083/new\040so\040sort /networkbrowse/AOL083/new\040so\040sort/ -o username=admin%,fmask=644,dmask=755,uid=502,gid=502,ip=192.168.1.253,debug=0,workgroup=TITAN


(underRoot)whenever I:
$sh mountscriptextra

I get:
Could not resolve mount point /networkbrowse/AOL083/Full040Albums/
Could not resolve mount point /networkbrowse/AOL083/Mp3040Singles/
Could not resolve mount point /networkbrowse/AOL083/new040so040sort/

-The folder/s and path are chmod 777

-Whenever I use LinNeighborhood manually with out using the script. It works.

-Firstly I query my machine ip. Right click on my machine name and click browse as user admin. It displays my folders. Then I right click on the folder I want to mount and select mount.

This then works perfectly.

Why does it not work using the script?

(I watched the log and compared when using LinNeighborhood. It is using the same commands)

Thank you!
 
Old 08-26-2003, 06:20 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
just try by putting the directorys in spaces in quotes " " ...
instead of using the \ slash..
so you will have something like AOL083/"new 040so 040sort"/
 
Old 08-26-2003, 06:37 PM   #3
Newman_SCO
Member
 
Registered: Jul 2003
Location: Scotland, Fife
Distribution: Mandrake 9.1
Posts: 31

Original Poster
Rep: Reputation: 15
DrOzz,

Thanks for the response

I hope you are stilll on browsing the forums.

Just to say the 040 in the paths were made by LinNeighborhood.

I think it is the same sort of syntax used on websites for spaces in filenames. Which is %20 . e.g. something like blah%20blah.htm

Should I just leave out the 040's??

Just about to try it.

Thanks
 
Old 08-26-2003, 08:12 PM   #4
Newman_SCO
Member
 
Registered: Jul 2003
Location: Scotland, Fife
Distribution: Mandrake 9.1
Posts: 31

Original Poster
Rep: Reputation: 15
I have changed the script.
to:
#! /bin/sh
# Working down to DrOzz's help , well lol

smbmount //AOL083/"Full Albums" /networkbrowse/AOL083/"Full Albums"/ -o username=admin%,fmask=644,dmask=755,uid=502,gid=502,ip=192.168.1.253,debug=0,workgroup=TITAN
smbmount //AOL083/"Mp3 Singles" /networkbrowse/AOL083/"Mp3 Singles"/ -o username=admin%,fmask=644,dmask=755,uid=502,gid=502,ip=192.168.1.253,debug=0,workgroup=TITAN
smbmount //AOL083/"new so sort" /networkbrowse/AOL083/"new so sort"/ -o username=admin%,fmask=644,dmask=755,uid=502,gid=502,ip=192.168.1.253,debug=0,workgroup=TITAN

U should tell LinNeighborhood developers. Well if you think it is a possible common problem.

Will vote for you, through your sig

Thanks!
 
Old 08-26-2003, 10:53 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
glad it worked d00d
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
quick question Squall__99 Mandriva 3 06-01-2005 04:13 PM
Quick Question? hydraspective Linux - Hardware 1 12-15-2004 12:51 AM
Question Concerning ISO's and one quick question. evrae Linux - Software 2 06-21-2004 04:53 AM
quick question - tw001_tw Linux - Software 1 05-24-2004 09:13 PM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration