LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-19-2007, 03:49 AM   #1
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542

Rep: Reputation: 79
Question How to mount a folder incliding a space?


Hello there,

Iīm fighting to mount a folder with a space... (i canīt rename it as itīs a network share)

the filder location Iīm trying to mount is like:
Code:
//10.26.120.10/MSD ISO
Here is what i try (with no luck):
Code:
mount -t smbfs -o username=my_user_name,password=My_password "//10.26.120.10/MSD ISO" iso

7565: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed
I try also this:
Code:
mount -t smbfs -o username=my_user_name,password=My_password //10.26.120.10/MSD\ ISO iso

7565: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed
Does any one have a clue how to do that?

Thanks,
Angel.
 
Old 02-19-2007, 04:08 AM   #2
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
What sharename is displayed by smbclient ?

Try

smbclient -L 10.26.120.10

See what sharename is displayed there.
Use the samename and mount the share.


The second format you have specified should work with the proper share nanme.
 
Old 02-19-2007, 04:13 AM   #3
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542

Original Poster
Rep: Reputation: 79
Code:
root@user-lab:/home/user#smbclient -U=My_username -L 10.26.11.201
Password: 

Domain=[GSX] OS=[Unix] Server=[Samba 3.0.5-0.5.1]

        Sharename       Type      Comment
        ---------       ----      -------
        space           Disk      Public Stuff - No write is allowed here - Contact your VMWARE super user
        MSD ISO         Disk      ISO and Images
        IPC$            IPC       IPC Service (VMWare Server)
        ADMIN$          IPC       IPC Service (VMWare Server)
Domain=[VMWARE] OS=[Unix] Server=[Samba 3.0.5-0.5.1]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
I found it, itīs work fine like this:
Code:
mount -t smbfs -o username=my_user_name,password=My_password //10.26.120.10/"MSD ISO" iso

Last edited by angel115; 02-19-2007 at 05:49 AM.
 
Old 02-19-2007, 05:09 AM   #4
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Yeah checked it out , it doesnt work that way.

This works

mount -t smbfs -o username=my_user_name,password=My_password '//10.26.120.10/MSD ISO' iso
 
Old 02-19-2007, 08:54 AM   #5
dubz_444
Member
 
Registered: Mar 2006
Location: South Africa
Distribution: Arch Linux
Posts: 43

Rep: Reputation: 15
this should also have worked . i hope

mount -t smbfs -o username=my_user_name,password=My_password //10.26.120.10/MSD\ ISO iso
 
  


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
how to open folder which contains a space in its name Carunkumar Ubuntu 4 09-20-2006 07:02 AM
There is not enough space in folder var jorge_ivan Linux - General 3 07-21-2006 09:43 PM
mount/bind to folder with space in name magnum81 Linux - Software 2 04-30-2006 01:39 PM
accessing folder with 'space' in the name kushalkoolwal Linux - Newbie 2 03-11-2004 02:43 AM
Calculate the space of a folder Half_Elf Linux - General 4 05-18-2003 07:53 PM

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

All times are GMT -5. The time now is 07:57 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
Open Source Consulting | Domain Registration