1 |
On Mon, Mar 17, 2008 at 11:44 AM, Grant Edwards <grante@××××.com> wrote: |
2 |
|
3 |
> According to the docs at |
4 |
> http://gentoo-wiki.com/HOWTO_Setup_Samba#Using_CIFS, |
5 |
> the following command should work: |
6 |
> |
7 |
> mount -t cifs //<windows machine name>/<shared folder> /<mountpoint> \ |
8 |
> -o |
9 |
> "username=<user>,uid=<uid>,iocharset=cp850,dir_mode=0770,file_mode=660" |
10 |
> |
11 |
> That doesn't work for me. I get this error: |
12 |
> |
13 |
> mount -t cifs //sidewinder/temp_xfer /mnt/tmp -o [...] |
14 |
> mount error: improperly formatted UNC name. /sidewinder/temp_xfer does not |
15 |
> begin with \\ or // |
16 |
> mount error 22 = Invalid argument |
17 |
> |
18 |
> mount.cifs works fine. The only way I can get mount to work is |
19 |
> to use backslashes for the UNC path. When support for |
20 |
> forward-slahses in UNC paths get broken? |
21 |
> |
22 |
> -- |
23 |
> Grant |
24 |
> |
25 |
> |
26 |
> -- |
27 |
> gentoo-user@l.g.o mailing list |
28 |
> |
29 |
|
30 |
This error is actually described in the gentoo-wiki page just under that |
31 |
command example: '*Warning:* Recent versions of "mount" don't support |
32 |
forward slashes in UNC path names as shown above -- you must use |
33 |
backslashes.' |
34 |
|
35 |
However, forward slashes are working for me with samba 3.0.28 and util-linux |
36 |
2.13-r2. |
37 |
|
38 |
~RK |