On 4/22/2025 8:18 PM, David Christensen via Cygwin wrote:
On 4/22/25 19:31, Mark Geisert via Cygwin wrote:
A peculiarity of Cygwin sshfs on Windows is that the directory being
mounted on ('/samba' in your case) must not exist before starting sshfs.
If that doesn't help, please do
echo $?
cat /var/run/fuse.mounts
right after trying to start sshfs and post the results here.
..mark
Thank you for the reply. I vaguely remembered that the mount point must
not exist prior to calling sshfs(1), and tried that permutation earlier,
but it did not work. It still does not work:
2025-04-22 20:07:20 admin@dq67sw ~
$ sshfs dpchrist@samba:/var/local/samba/dpchrist /samba/dpchrist
2025-04-22 20:07:38 admin@dq67sw ~
$ echo $?
127
The 127 exit code indicates sshfs itself is missing a run-time library;
it's not even running far enough to process the options you're trying.
What does 'ldd /usr/bin/sshfs.exe' output? On my system it looks like
ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x7fffb89d0000)
KERNEL32.DLL => /c/Windows/System32/KERNEL32.DLL (0x7fffb8460000)
KERNELBASE.dll => /c/Windows/System32/KERNELBASE.dll (0x7fffb6100000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x7fffa7f60000)
cygglib-2.0-0.dll => /usr/bin/cygglib-2.0-0.dll (0x507860000)
cygfuse-3.2.dll => /usr/bin/cygfuse-3.2.dll (0x3e5fb0000)
cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3cba60000)
cygintl-8.dll => /usr/bin/cygintl-8.dll (0x5ee2d0000)
cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x50caa0000)
cygpcre2-8-0.dll => /usr/bin/cygpcre2-8-0.dll (0x453a70000)
..mark
--
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