Han-Wen Nienhuys

Results 206 comments of Han-Wen Nienhuys

oh, wait it's the example, so it should provide the access function.

sorry for the delay. I had a closer look. So, for some reason OSX is checking access(W_OK), on mount ie. ``` 2020/09/20 19:41:37 rx 3: ACCESS i1 {u=501 g=20 w}...

I had a brief look at the OSXFUSE project page on github, but with the project being taken closed-source, it's not clear where to report bugs. Is there someone here...

> takes os.File instead of just the file descriptor I've tried to avoid using the os package. FUSE works at the syscall level, and the os package adds extra convenience...

I've added a comment about os.File in https://review.gerrithub.io/c/hanwen/go-fuse/+/508225.

good point. The Path() method on Node should give you enough to implement path based system.

I need a CLA to take your contribution.

could you write a test for the du case ? Write a file (let's 10240 bytes), syscall.Stat it through FUSE, and then verify that st_blocks is 20 (If I understand...

I tried to naively set CAP_MAX_PAGES, but would still see small reads. I would be grateful is somebody could hack something together that shows what mantra to send to the...

well, yes, you might be right, but then you also need to make a test that writes a file in 1 MB chunks, and then run it and observe that...