* [gentoo-user] mount -t cifs doesn't accept //hostname/share?
@ 2008-03-17 15:44 Grant Edwards
2008-03-17 20:01 ` Rik Koenig
0 siblings, 1 reply; 3+ messages in thread
From: Grant Edwards @ 2008-03-17 15:44 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] mount -t cifs doesn't accept //hostname/share?
2008-03-17 15:44 [gentoo-user] mount -t cifs doesn't accept //hostname/share? Grant Edwards
@ 2008-03-17 20:01 ` Rik Koenig
2008-03-17 20:56 ` [gentoo-user] " Grant Edwards
0 siblings, 1 reply; 3+ messages in thread
From: Rik Koenig @ 2008-03-17 20:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1146 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1706 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: mount -t cifs doesn't accept //hostname/share?
2008-03-17 20:01 ` Rik Koenig
@ 2008-03-17 20:56 ` Grant Edwards
0 siblings, 0 replies; 3+ messages in thread
From: Grant Edwards @ 2008-03-17 20:56 UTC (permalink / raw
To: gentoo-user
On 2008-03-17, Rik Koenig <mahgri@gmail.com> wrote:
> 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.'
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-17 20:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-17 15:44 [gentoo-user] mount -t cifs doesn't accept //hostname/share? Grant Edwards
2008-03-17 20:01 ` Rik Koenig
2008-03-17 20:56 ` [gentoo-user] " Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox