LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to mount a folder incliding a space? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-mount-a-folder-incliding-a-space-530344/)

angel115 02-19-2007 03:49 AM

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.

zulfilee 02-19-2007 04:08 AM

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.

angel115 02-19-2007 04:13 AM

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

zulfilee 02-19-2007 05:09 AM

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

dubz_444 02-19-2007 08:54 AM

this should also have worked . i hope :D

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


All times are GMT -5. The time now is 05:47 AM.