small problem with smbfs mount
Hi
I am trying to mount a windows share that has a name with a space within it, how do i go about it without removing the space. ie. mount -t smbfs \\ComputerName\The Share /mnt/share -o username=somebody password=something. The Share is where the problem is lying. Thanx |
I don't use SMB much yet (wireless network is sooo slow), but in normal pathnames you can use a space by 'backslashing' it. Maybe you have tried this already, but just in case. (note the extra slash after 'the').....mmmm I'm starting to feel a bit dumb with this one. It could work I suppose if you could use forward slashes (I changed the slashes around to illustrate) in the rest of the path.... nah maybe try the second idea.
Code:
mount -t smbfs //ComputerName/The\ Share /mnt/share -o username=somebody password=something. Code:
mount -t smbfs \\ComputerName\The%20Share /mnt/share -o username=somebody password=something. |
Actually a "\" should be use just before the space.
On my server the name of the share is: Vault 89 So to mount it I type: mount -t smbfs //10.0.0.8/Vault\ 89/ /mnt/hd If that doesn't work then its not the real share name or there is something weird with your network. |
Yeah but
qoutes work as well and its easier than all of the /
mount -t smbfs \\ComputerName\"The Share" /mnt/share -o username=somebody password=something. That should work fine. |
or if you use kde then you could use smb4k. nifty little proggy.
|
All times are GMT -5. The time now is 07:14 PM. |