Replies: 9 comments 9 replies
-
|
Hi, the platform support of https://github.com/winfsp/cgofuse is impressive. Unfortunately, the API it provides is completely different to go-fuse. |
Beta Was this translation helpful? Give feedback.
-
|
Nice! Whats missing for gocryptfs? Does it work?
…On Tue, 23 Apr 2024, 19:15 llucps, ***@***.***> wrote:
FreeBSD support has been merged into go-fuse master branch. Let's hope
someday will be able to add FreeBSD support for gocryptfs.
—
Reply to this email directly, view it on GitHub
<#741 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACGA756S372BFTUZD5ZH6LY62JJTAVCNFSM6AAAAAAYCGBHSCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TEMBTGY4TE>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Out of the box, it doesn't work quite yet. If I'm able to squeeze out a bit of free time, I might dig into it. It looks like what all was done in go-fuse were the necessary abstractions. Not sure the FreeBSD implementations are in place yet. |
Beta Was this translation helpful? Give feedback.
-
|
The v2.7.1 release of go-fuse now supports FreeBSD. What is missing right now are only the platform-specific bits. Shouldn't be super hard to do! |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I've attempted to add support for FreeBSD on the I've done a basic test with initialising a cipher directory, mounting it and creating some files and directories in the mounted plain directory, un-mounting and remounting to confirm the files and directories are still present and intact. It looks like it's working so far based on this brief test. I don't daily-drive FreeBSD, so it's unlikely I'll be able to test this port extensively - I'm not sure how much more testing (if any?) is required before this can be considered ready to merge (did the Mac OS port get much testing before being merged? Maybe that can be used as an indication?). Any feedback is much appreciated, especially if someone has a better understanding of / familiarity with the system calls available on FreeBSD. At the moment, a number of functions in Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
This is fantastic, @ankushjp ! I've done a little testing, and everything seems to be working as expected. I'll keep it going for a while, and run it through various workflows, see what I can find, but I don't see any reason why a PR, (or at least one tagged with WIP) couldn't be opened now. Hopefully get more eyes on it than just from this discussion thread. Thank you for this! |
Beta Was this translation helpful? Give feedback.
-
|
Nice. @ankushjp want to create a pull request? |
Beta Was this translation helpful? Give feedback.
-
|
It should be compile-tested in ci. In other words, add freebsd to crossbuild.bash |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the feedback @schlomie and @rfjakob - I've added the FreeBSD build to the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to migrate from debian to FreeBSD and the main roadblock is not being able to use gocryptfs since the library https://github.com/hanwen/go-fuse doesn't compile on FreeBSD hanwen/go-fuse#415
Maybe it's a bit of stretch but could gcroptfs use this library on FreeBSD instead? Or it doesn't make sense what I'm proposing.
https://github.com/winfsp/cgofuse
Thanks
Beta Was this translation helpful? Give feedback.
All reactions