1 |
On 2008-03-17, Rik Koenig <mahgri@×××××.com> wrote: |
2 |
> On Mon, Mar 17, 2008 at 11:44 AM, Grant Edwards <grante@××××.com> wrote: |
3 |
> |
4 |
>> According to the docs at |
5 |
>> http://gentoo-wiki.com/HOWTO_Setup_Samba#Using_CIFS, |
6 |
>> the following command should work: |
7 |
>> |
8 |
>> mount -t cifs //<windows machine name>/<shared folder> /<mountpoint> \ |
9 |
>> -o |
10 |
>> "username=<user>,uid=<uid>,iocharset=cp850,dir_mode=0770,file_mode=660" |
11 |
>> |
12 |
>> That doesn't work for me. I get this error: |
13 |
>> |
14 |
>> mount -t cifs //sidewinder/temp_xfer /mnt/tmp -o [...] |
15 |
>> mount error: improperly formatted UNC name. /sidewinder/temp_xfer does not |
16 |
>> begin with \\ or // |
17 |
>> mount error 22 = Invalid argument |
18 |
>> |
19 |
>> mount.cifs works fine. The only way I can get mount to work is |
20 |
>> to use backslashes for the UNC path. When support for |
21 |
>> forward-slahses in UNC paths get broken? |
22 |
>> |
23 |
>> -- |
24 |
>> Grant |
25 |
>> |
26 |
>> |
27 |
>> -- |
28 |
>> gentoo-user@l.g.o mailing list |
29 |
>> |
30 |
> |
31 |
> This error is actually described in the gentoo-wiki page just under that |
32 |
> command example: '*Warning:* Recent versions of "mount" don't support |
33 |
> forward slashes in UNC path names as shown above -- you must use |
34 |
> backslashes.' |
35 |
|
36 |
I know, I added that warning. |
37 |
|
38 |
> However, forward slashes are working for me with samba 3.0.28 and util-linux |
39 |
> 2.13-r2. |
40 |
|
41 |
I've got samba 3.0.28 and util-linux 2.13-r2, and forward |
42 |
slashes don't work for me. I pasted in the command from the |
43 |
wiki page almost exactly as shown (changed the hostname and |
44 |
sharename), and it didn't work. I also found a number of reports |
45 |
of the exact same problem in various other places (Ubunto |
46 |
forums for example). Perhaps I should edit the warning on the |
47 |
wiki page to say that sometimes backslashes work, and sometimes |
48 |
they don't. |
49 |
|
50 |
-- |
51 |
Grant |
52 |
|
53 |
|
54 |
-- |
55 |
gentoo-user@l.g.o mailing list |