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 <gentoo-user+bounces-77110-garchives=archives.gentoo.org@lists.gentoo.org>) id 1JbLW6-0003ce-18 for garchives@archives.gentoo.org; Mon, 17 Mar 2008 20:01:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B9C8E0562; Mon, 17 Mar 2008 20:01:04 +0000 (UTC) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.184]) by pigeon.gentoo.org (Postfix) with ESMTP id 4EFB5E0562 for <gentoo-user@lists.gentoo.org>; Mon, 17 Mar 2008 20:01:03 +0000 (UTC) Received: by rn-out-0910.google.com with SMTP id a43so3480337rne.10 for <gentoo-user@lists.gentoo.org>; Mon, 17 Mar 2008 13:01:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=V0TX13WCwIbMn3MvHMsR3LBsaemjvtUsJz1sP3dwNUE=; b=Lm0bvc4pB/EarPF0B3PBH8/Skl0bE6pB82t2CzYJjd44+RrjUep9b2UoQrSq2HPy9MZad6G1a1rNbBlcHfLQuOeaiaL4bgkwf4LmRhJAnqKqeymi+rOD9SFt6+RyAVaKBywQIBXgAaAjb9ves7gNADCb4EBRAf43twUq2ekjHrE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=mFXssXw7tVAnIek9H3UDz9ujGuhV5fety9g7kvDX1e/iZJdJ0TbxZ4IsM/fhomDEd8/bYzjcFu1Z0K58oRGMnKrMNdkPD3CH39JTx5JYbH/oEQ0I1k2rXwTDy8NolQU/uz45RILht8HxmH01W6f6T7WKxvoMYxlkHsK2aZLP3oI= Received: by 10.114.200.2 with SMTP id x2mr225174waf.19.1205784062164; Mon, 17 Mar 2008 13:01:02 -0700 (PDT) Received: by 10.114.182.3 with HTTP; Mon, 17 Mar 2008 13:01:02 -0700 (PDT) Message-ID: <82fe47b0803171301i618d9af4xc22566060c2188c@mail.gmail.com> Date: Mon, 17 Mar 2008 16:01:02 -0400 From: "Rik Koenig" <mahgri@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] mount -t cifs doesn't accept //hostname/share? In-Reply-To: <frm3lb$49s$1@ger.gmane.org> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14413_32734371.1205784062160" References: <frm3lb$49s$1@ger.gmane.org> X-Archives-Salt: d755a925-410f-4189-93d2-5c34acde30af X-Archives-Hash: 00fce507d6f665e4e028684d7190a38f ------=_Part_14413_32734371.1205784062160 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Mar 17, 2008 at 11:44 AM, Grant Edwards <grante@visi.com> wrote: > According to the docs at > http://gentoo-wiki.com/HOWTO_Setup_Samba#Using_CIFS, > the following command should work: > > mount -t cifs //<windows machine name>/<shared folder> /<mountpoint> \ > -o > "username=<user>,uid=<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.' However, forward slashes are working for me with samba 3.0.28 and util-linux 2.13-r2. ~RK ------=_Part_14413_32734371.1205784062160 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <br><br><div class="gmail_quote">On Mon, Mar 17, 2008 at 11:44 AM, Grant Edwards <<a href="mailto:grante@visi.com">grante@visi.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> According to the docs at <a href="http://gentoo-wiki.com/HOWTO_Setup_Samba#Using_CIFS" target="_blank">http://gentoo-wiki.com/HOWTO_Setup_Samba#Using_CIFS</a>,<br> the following command should work:<br> <br> mount -t cifs //<windows machine name>/<shared folder> /<mountpoint> \<br> -o "username=<user>,uid=<uid>,iocharset=cp850,dir_mode=0770,file_mode=660"<br> <br> That doesn't work for me. I get this error:<br> <br> mount -t cifs //sidewinder/temp_xfer /mnt/tmp -o [...]<br> mount error: improperly formatted UNC name. /sidewinder/temp_xfer does not begin with \\ or //<br> mount error 22 = Invalid argument<br> <br> mount.cifs works fine. The only way I can get mount to work is<br> to use backslashes for the UNC path. When support for<br> forward-slahses in UNC paths get broken?<br> <br> --<br> Grant<br> <font color="#888888"><br> <br> --<br> <a href="mailto:gentoo-user@lists.gentoo.org">gentoo-user@lists.gentoo.org</a> mailing list<br> </font></blockquote><div><br>This error is actually described in the gentoo-wiki page just under that command example: '<b>Warning:</b> Recent versions of "mount" don't support forward slashes in UNC path names as shown above -- you must use backslashes.'<br> <br>However, forward slashes are working for me with samba 3.0.28 and util-linux 2.13-r2.<br><br>~RK<br></div></div> ------=_Part_14413_32734371.1205784062160-- -- gentoo-user@lists.gentoo.org mailing list