sshfs-win icon indicating copy to clipboard operation
sshfs-win copied to clipboard

Any way to mount to a "real" drive instead of a network drive?

Open proviste opened this issue 2 years ago • 3 comments

For example to be able to setup a network share

proviste avatar Oct 21 '22 02:10 proviste

Example:

sshfs -o "idmap=none,no_readahead,allow_other,reconnect,ServerAliveInterval=15,ServerAliveCountMax=5,noatime,auto 0 0" [email protected]:/home/user Y:

Mounts a physical drive provided by FUSE. screenshot

imshvc avatar Dec 04 '22 09:12 imshvc

It would be very useful to be able to mount it as a fake hard disk. Some programs behave differently if they think it's a network drive. Doing extra read checks, and strange copy-rename stuff, pretending to be a file system. This "Local Disk - FUSE" is not enough to convince these programs that it's a local hard disk. I have no idea what information windows provides programs though, and how much of that can be chosen by the mounting process.

OskarAtGitHub avatar Dec 19 '22 11:12 OskarAtGitHub

Yes I've seen programs behave strangely when they detect they're writing to a network share.

Have you tried using a symlink?

https://superuser.com/questions/210824/creating-a-symbolic-link-to-mapped-network-drive-in-windows

Cheers, Fidel

fiddyschmitt avatar Feb 10 '23 04:02 fiddyschmitt