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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-26-2003, 04:41 PM
|
#1
|
Member
Registered: Jul 2003
Location: Scotland, Fife
Distribution: Mandrake 9.1
Posts: 31
Rep:
|
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!
|
|
|
08-26-2003, 05:20 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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"/
|
|
|
08-26-2003, 05:37 PM
|
#3
|
Member
Registered: Jul 2003
Location: Scotland, Fife
Distribution: Mandrake 9.1
Posts: 31
Original Poster
Rep:
|
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
|
|
|
08-26-2003, 07:12 PM
|
#4
|
Member
Registered: Jul 2003
Location: Scotland, Fife
Distribution: Mandrake 9.1
Posts: 31
Original Poster
Rep:
|
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!
|
|
|
08-26-2003, 09:53 PM
|
#5
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
glad it worked d00d 
|
|
|
All times are GMT -5. The time now is 01:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|