On Thu, Jun 11, 2026 at 11:57 AM Aurélien Couderc
<[email protected]> wrote:
>
> On Thu, Jun 11, 2026 at 12:57 AM Takashi Yano <[email protected]> 
> wrote:
> >
> > On Wed, 10 Jun 2026 20:32:44 +0200
> > Aurélien Couderc wrote:
> > > On Wed, Jun 10, 2026 at 3:04 PM Takashi Yano <[email protected]> 
> > > wrote:
> > > >
> > > > On Wed, 10 Jun 2026 14:46:42 +0200
> > > > Aurélien Couderc wrote:
> > > > > Cygwin:
> > > > >
> > > > > /usr/bin/mount with UNC path does not work on Cygwin 3.7 (todays 
> > > > > version).
> > > > >
> > > > > Example:
> > > > > mkdir nfsdata
> > > > > /usr/bin/mount  '\\66.9.20.44@NFS@2049\nfspool' $PWD/nfspool
> > > > >
> > > > > But $PWD/nfspool is empty then, while ls -l
> > > > > //66.9.20.44@NFS@2049/nfspool shows directory content.
> > > > >
> > > > > What am I doing wrong?
> > > >
> > > > /usr/bin/mount //66.9.20.44@NFS@2049/nfspool
> > >
> > > No, that only prints:
> > > mount: can't find //66.9.20.44@NFS@2049/nfspool in /etc/fstab or in
> > > /etc/fstab.d/$USER
> >
> > Ah, sorry. I meant:
> >
> > > I also tried
> > > mkdir nfspool
> > > /usr/bin/mount  '//66.9.20.44@NFS@2049/nfspool' $PWD/nfspool
> >
> > 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?

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.

Aurélien
-- 
Aurélien Couderc <[email protected]>
Big Data/Data mining expert, chess enthusiast

-- 
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

Reply via email to