Replies: 3 comments 1 reply
-
|
Nevermind, I fully change my approach, sorry I just needed some fresh air and a pause, will instead do raw I/O and translate the cipher dirs myself... also seems the saner choice |
Beta Was this translation helpful? Give feedback.
-
|
Check what rawBridge.Lookup() does ( https://github.com/hanwen/go-fuse/blob/master/fs/bridge.go#L356 ). I think the missing call to addNewChild() is your problem. Using (faking) a symlink is not an option? |
Beta Was this translation helpful? Give feedback.
-
|
for the future reference: I actually only needed the file ids (and some stuff I patched in), so the ciphered was sufficient.
Unfortunately I think my code is changed too much to be useful here, as I partially changed the crypto. |
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.
-
Hey. I am currently trying to build something very wild, and I know that. But effectively, I would love to try out to read another file in another directory from within an
OpenFUSE call. I know thats a bad idea (will also be a very very cold path), but I am currently struggling with my approach, maybe you have an idea how I misuse the API:Assume that the part was created with an unpatched version and exists.
Now, I get something very curious:
toNodethe root inode, can callLookup(or even successfullyReaddir) on it and I get what I expect./luaInode doesnt have its .Parent() set (its Nil), so in theLookup, in then.PrepareAtSyscall, in then.prepareAtSyscallMyself, the following failsSo, when I get a Node myself, it seems like I forget to do something to properly set the parent. Do you have any idea on how I misuse it?
PS: Or just any pointers on where to look?
Beta Was this translation helpful? Give feedback.
All reactions