From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JbMO7-00008D-8k for garchives@archives.gentoo.org; Mon, 17 Mar 2008 20:56:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A80A6E042D; Mon, 17 Mar 2008 20:56:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 75D4BE042D for ; Mon, 17 Mar 2008 20:56:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id EB0C266C77 for ; Mon, 17 Mar 2008 20:56:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.532 X-Spam-Level: X-Spam-Status: No, score=-0.532 required=5.5 tests=[BAYES_00=-2.599, RCVD_NUMERIC_HELO=2.067] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8TRlJgmb--qt for ; Mon, 17 Mar 2008 20:56:45 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 2183466CAE for ; Mon, 17 Mar 2008 20:56:43 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JbMNp-0005tK-7a for gentoo-user@gentoo.org; Mon, 17 Mar 2008 20:56:37 +0000 Received: from 64.251.14.41 ([64.251.14.41]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Mar 2008 20:56:37 +0000 Received: from grante by 64.251.14.41 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Mar 2008 20:56:37 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: mount -t cifs doesn't accept //hostname/share? Date: Mon, 17 Mar 2008 20:56:22 +0000 (UTC) Message-ID: References: <82fe47b0803171301i618d9af4xc22566060c2188c@mail.gmail.com> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 64.251.14.41 User-Agent: slrn/0.9.8.1pl1 (Linux) Sender: news Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: 8ceb6a52-a3e2-46cf-9dac-a7c4839796b4 X-Archives-Hash: 9a11e28040f4064483e4acb841b5f8c4 On 2008-03-17, Rik Koenig wrote: > On Mon, Mar 17, 2008 at 11:44 AM, Grant Edwards wrote: > >> According to the docs at >> http://gentoo-wiki.com/HOWTO_Setup_Samba#Using_CIFS, >> the following command should work: >> >> mount -t cifs /// / \ >> -o >> "username=,uid=,iocharset=cp850,dir_mode=0770,file_mode=660" >> >> That doesn't work for me. I get this error: >> >> mount -t cifs //sidewinder/temp_xfer /mnt/tmp -o [...] >> mount error: improperly formatted UNC name. /sidewinder/temp_xfer does not >> begin with \\ or // >> mount error 22 = Invalid argument >> >> mount.cifs works fine. The only way I can get mount to work is >> to use backslashes for the UNC path. When support for >> forward-slahses in UNC paths get broken? >> >> -- >> Grant >> >> >> -- >> gentoo-user@lists.gentoo.org mailing list >> > > This error is actually described in the gentoo-wiki page just under that > command example: '*Warning:* Recent versions of "mount" don't support > forward slashes in UNC path names as shown above -- you must use > backslashes.' I know, I added that warning. > However, forward slashes are working for me with samba 3.0.28 and util-linux > 2.13-r2. I've got samba 3.0.28 and util-linux 2.13-r2, and forward slashes don't work for me. I pasted in the command from the wiki page almost exactly as shown (changed the hostname and sharename), and it didn't work. I also found a number of reports of the exact same problem in various other places (Ubunto forums for example). Perhaps I should edit the warning on the wiki page to say that sometimes backslashes work, and sometimes they don't. -- Grant -- gentoo-user@lists.gentoo.org mailing list