[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mount.cifs: bad UNC ...



On 8/19/13, Dom <toyer@rpdom.net> wrote:
> On 19/08/13 21:31, Albretch Mueller wrote:
>>   I am unsuccessfully trying to mount a Windows Network share which (on
>> windows) advertises itself as using the following path
>> ~
>>   \\315wcclassdc.wcclasses.local\users$\class1
>> ~
>>   but this is what I am getting:
>>
>> $ sudo mkdir -p /media/cifs
>>
>> $ sudo mount -t cifs \\315wcclassdc.wcclasses.local\users$\class1 -o
>> username=class1,password=12345 /media/cifs
>> mount.cifs: bad UNC (\315wcclassdc.wcclasses.localusers$class1)
>
> That failed, obviously
>
>> $ sudo mount -t cifs //315wcclassdc.wcclasses.local/users$/class1 -o
>> username=class1,password=12345 /media/cifs
>> unable to add mount entry to mtab
>> error 22 detected on close of mtab
>> unable to add mount entry to mtab
>
> I think that is the correct format, and it actually succeeded in
> mounting the share, but for some reason it has been unable to update the
> mtab file - which is a symlink to /proc/mounts, which is a symlink to
> /proc/self/mounts.
>
>>   How do I troubleshoot that problem?
>> ~
>>   How do you probe a Windows FS from within Linux?
>
> I think the issue is "Why couldn't it update /proc/self/mounts?"
>> ~
>> $ uname -a
>> Linux Microknoppix 3.3.7 #38 SMP PREEMPT Tue May 22 06:21:01 CEST 2012
>> i686 GNU/Linux
>
> Hmm, not Debian then. The /etc/mtab links or permissions may be different.
>
> --
> Dom
~
 knoppix is a relatively popular live CD based on Debian anyway
~
 http://en.wikipedia.org/wiki/Knoppix
~
 How could I troubleshoot in detail the failed attempt at updating the mtab ...?
~
 lbrtchx


Reply to: