Gentoo Archives: gentoo-user

From: Grant Edwards <grante@××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] mount -t cifs doesn't accept //hostname/share?
Date: Mon, 17 Mar 2008 15:45:17
Message-Id: frm3lb$49s$1@ger.gmane.org
1 According to the docs at http://gentoo-wiki.com/HOWTO_Setup_Samba#Using_CIFS,
2 the following command should work:
3
4 mount -t cifs //<windows machine name>/<shared folder> /<mountpoint> \
5 -o "username=<user>,uid=<uid>,iocharset=cp850,dir_mode=0770,file_mode=660"
6
7 That doesn't work for me. I get this error:
8
9 mount -t cifs //sidewinder/temp_xfer /mnt/tmp -o [...]
10 mount error: improperly formatted UNC name. /sidewinder/temp_xfer does not begin with \\ or //
11 mount error 22 = Invalid argument
12
13 mount.cifs works fine. The only way I can get mount to work is
14 to use backslashes for the UNC path. When support for
15 forward-slahses in UNC paths get broken?
16
17 --
18 Grant
19
20
21 --
22 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] mount -t cifs doesn't accept //hostname/share? Rik Koenig <mahgri@×××××.com>