On 4/22/25 19:31, Mark Geisert via Cygwin wrote:
Hi David,
<snip>
I have run the WinFsp installer, leaving component selections at default:
WinFsp
Core
-> Will be installed on local hard drive
Looks good.
<snip>
When I use Cygwin sshfs(1) to mount the file server directory onto the
Windows client, the directory is not mounted and there are no error
messages:
2025-04-22 18:35:51 admin@dq67sw ~
$ sshfs dpchrist@samba:/var/local/samba/dpchrist /samba
2025-04-22 18:39:27 admin@dq67sw ~
$ ls -l /samba
total 0
As a sanity check, sshfs(1) works correctly on a Debian GNU/Linux client.
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
2025-04-22 20:07:45 admin@dq67sw ~
$ cat /var/run/fuse.mounts
# Updated by FUSE apps; stale entries OK; DO NOT EDIT this binary file!
/home/admin/cvs-old sshfs 2627
//toor@cvs//var/local/cvs-old/dpchrist/.zfs/snap/sshfs/cvs/var/local/cvs-old/dpchrist/.zfs
sshfs 2673 //toor@cvs//var/local/cvs/sshfs/cvs sshfs 2031 //toor@cvs//
/sshfs/f3 sshfs 2163 //toor@f3//
/sshfs/samba/dpchrist sshfs 926 //dpchrist@samba//var/local/samba/dpchrist
2025-04-22 20:12:39 admin@dq67sw ~
$ ls -l /samba
total 0
Throwing various options at sshfs(1) makes me think it is brain dead (?):
2025-04-22 20:14:02 admin@dq67sw /var/log
$ sshfs -d dpchrist@samba:/var/local/samba/dpchrist /samba/dpchrist
2025-04-22 20:14:58 admin@dq67sw /var/log
$ sshfs -d -f dpchrist@samba:/var/local/samba/dpchrist /samba/dpchrist
2025-04-22 20:15:20 admin@dq67sw /var/log
$ sshfs -d -f -o ssh_command=/usr/bin/echo
dpchrist@samba:/var/local/samba/dpchrist /samba/dpchrist
2025-04-22 20:16:40 admin@dq67sw /var/log
$ sshfs foo bar --baz
2025-04-22 20:16:56 admin@dq67sw /var/log
$ which sshfs
/usr/bin/sshfs
2025-04-22 20:17:57 admin@dq67sw /var/log
$ file `which sshfs`
/usr/bin/sshfs: PE32+ executable (console) x86-64 (stripped to external
PDB), for MS Windows, 10 sections
David
--
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