Re: Cygwin: /usr/bin/mount with UNC path does not work

Jon Turney via Cygwin <[email protected]> Thu, 11 Jun 2026 13:19:11 +0100
Newsgroups gmane.os.cygwin
Message-ID <[email protected]>
On 11/06/2026 11:31, Aurélien Couderc via Cygwin wrote:
> On Thu, Jun 11, 2026 at 11:57 AM Aurélien Couderc
> <[email protected]> wrote:
>>
[...]
>>>> I also tried
>>>> mkdir nfspool
>>>> /usr/bin/mount  '//66.9.20.44@NFS@2049/nfspool' $PWD/nfspool
>>>

This is the form of the command given in example 3.12 in the man page, 
so should not be hard to discover.

>>> of cource.
>>>
>>>> that succeeded, but a cd nfspool then fails.
>>
>> I think I found the issue;
>> The /usr/bin/mount and cd works if $PWD is on NTFS, but fails if $PWD
>> is on SMB or NFS.
>>
>> Is this a Cygwin bug?

You started with:

> /usr/bin/mount with UNC path does not work on Cygwin 3.7 (todays version).

... so are you claiming that this is a regression in 3.7?

Or have you not tested with 3.6?

> Testcase:
> After the cd nfspool do a cygwin -w "$PWD"
> In my case this reports the path of the base filesystem and not the
> UNC path passed to /usr/bin/mount.

Can you show the output of 'mount' at this point in time?


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple