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?

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