https://rancher.com/ logo
Title
h

hundreds-crowd-93261

05/23/2022, 8:35 PM
@best-accountant-68201 @fast-garage-66093 is there a reason sshfs isn’t suitable for single file mounts? regarding https://github.com/lima-vm/lima/issues/130#issuecomment-888178048. i was considering implementing the feature, but wanted to check what might be blocking it.
b

best-accountant-68201

05/23/2022, 8:39 PM
Not sure whether fuse supports single-file mounts. Probably not.
h

hundreds-crowd-93261

05/23/2022, 8:39 PM
gotcha. wasn’t sure if it was sshfs specific or not.
b

best-accountant-68201

05/23/2022, 8:39 PM
Could be workarounded with symlink or bind-mount though.
Not specific to sshfs. I don't think FUSE (or generally, any file system) supports single-file mounts.
h

hundreds-crowd-93261

05/23/2022, 8:41 PM
yeah, i hadn’t considered that it might be a FUSE limitation, that makes sense to me
ill just start with the simpler task of #659 😄
e

enough-smartphone-71732

05/23/2022, 9:05 PM
Hmm, Docker Desktop uses fuse by default and has no trouble with single-file mounts…
Not sshfs of course.
Not that single-file mounts don’t just seem evil to me. But I know a few project modifications that are built around them.
h

hundreds-crowd-93261

05/23/2022, 9:06 PM
🤷 ill look into it if i really want single file mounts
working on configurable mount target paths
got it working for sshfs, but can’t figure out why it won’t even use 9p when i configure it to 😐
b

best-accountant-68201

05/24/2022, 5:56 AM
thanks for opening the PR 👍
h

hundreds-crowd-93261

05/24/2022, 4:56 PM
it was quite easy to implement, and seemed like a big win for functionality 🙂