FUSE suppport #54
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've started looking into exposing the watches' file system over FUSE. This way, we can access files on the watch without having to go through
itctlor developing 3rd party tools. If and when my gallery app gets merged, this would allow us to just use vim or another text editor to put files on the watch.I have started playing this in my fork. Once it's a bit more mature and better tested, I can open a pull request here. At the moment I'm just curious if there's interest in having this and what feature we should have.
WatchMotionrather thanMotion)What do you think of this?
Assuming the fuse library you're using doesn't link
libfuse, I think this is a great idea. I don't think it does, but it doesn't explicitly state that anywhere. The easiest way to check is to try cross-compiling it. If you doGOARCH=riscv64 go buildin your fork, does it work or do you get an error?If it does link
libfuse, then I'd say put it in a separate project that communicates with ITD rather than ITD itself, because ITD contains no C dependencies and is pure Go, allowing for easy cross-compilation, static executables, etc. Addinglibfusewould make lots of things a lot more complicated.Other than that, it's definitely a great idea. Thanks.
GOARCH=riscv64 go buildruns through without fault and the executable seems to run on my ARM system. Thanks for pointing this out and including the commandI've had a closer look at your fork. It looks good. The only thing I'd say should be changed is that the
fuse.gofile should only contain thestartFusefunction (which should be calledstartFUSEaccording to Go naming conventions). Everything else should be in a separate package insideinternal, something likeinternal/fusefs. I'd also say you should split the converters into aconverters.gofile inside that new package to improve readability a bit.Thanks for the review, I've done this now and opened a pull request !55. Let me know if you want me to change other things as well
Should be closed with the merger of !55. Thanks for your help!