FUSE suppport #54
Labels
No Label
Bug
Cantfix
Duplicate
Enhancement
External
Help Wanted
In Progress
Invalid
Question
Waiting
Waiting For Info
Waiting for Upstream
Wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Elara6331/itd#54
Loading…
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
itctl
or 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.
WatchMotion
rather 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 build
in 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. Addinglibfuse
would make lots of things a lot more complicated.Other than that, it's definitely a great idea. Thanks.
GOARCH=riscv64 go build
runs 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.go
file should only contain thestartFuse
function (which should be calledstartFUSE
according 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.go
file 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!