You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "oowl (via GitHub)" <gi...@apache.org> on 2024/03/27 17:23:11 UTC

[PR] feat(ofs): support freebsd [opendal]

oowl opened a new pull request, #4403:
URL: https://github.com/apache/opendal/pull/4403

   
   1. FreeBSD 13
   
   ```
   root@freebsd:~/opendal/bin/ofs # echo "Hello OpenDAL ofs From Freebsd 13" > exampless/data.txt
   root@freebsd:~/opendal/bin/ofs # cat exampless/data.txt 
   Hello OpenDAL ofs From Freebsd 13
   root@freebsd:~/opendal/bin/ofs # uname -a
   FreeBSD freebsd 13.3-RELEASE FreeBSD 13.3-RELEASE releng/13.3-n257428-80d2b634ddf0 GENERIC amd64
   ```
   
   ```
   [root@freebsd ~/opendal/bin/ofs]#  RUST_LOG=info ./target/debug/ofs ./exampless "fs://?root=/tmp" 
   [2024-03-27T17:20:46Z INFO  fuse3::raw::session] handle_init; request=Request { unique: 1, uid: 0, gid: 0, pid: 2126 } fuse_connection=FuseConnection { unmount_notify: Notify { count: false, event: Event { listeners_notified: 18446744073709551615, listeners_total: 0 } }, mode: NonBlock(NonBlockFuseConnection { fd: AsyncFd { inner: Some(OwnedFd { fd: 9 }) }, read: Mutex { is_locked: false, has_waiters: false }, write: Mutex { is_locked: false, has_waiters: false } }) }
   [2024-03-27T17:20:54Z INFO  fuse3::raw::session] handle_access; request=Request { unique: 2, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 48, opcode: 34, unique: 2, nodeid: 1, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:54Z INFO  fuse3::raw::session] handle_lookup; request=Request { unique: 3, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 49, opcode: 1, unique: 3, nodeid: 1, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:54Z INFO  fuse3::raw::session] handle_access; request=Request { unique: 4, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 48, opcode: 34, unique: 4, nodeid: 2, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:54Z INFO  fuse3::raw::session] handle_open; request=Request { unique: 5, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 48, opcode: 14, unique: 5, nodeid: 2, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:54Z INFO  fuse3::raw::session] handle_setattr; request=Request { unique: 6, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 128, opcode: 4, unique: 6, nodeid: 2, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:54Z INFO  fuse3::raw::session] handle_write; request=Request { unique: 7, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 114, opcode: 16, unique: 7, nodeid: 2, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:54Z INFO  fuse3::raw::session] handle_flush; request=Request { unique: 8, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 64, opcode: 25, unique: 8, nodeid: 2, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:54Z INFO  fuse3::raw::session] handle_release; request=Request { unique: 9, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 64, opcode: 18, unique: 9, nodeid: 2, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:56Z INFO  fuse3::raw::session] handle_getattr; request=Request { unique: 10, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 56, opcode: 3, unique: 10, nodeid: 1, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:58Z INFO  fuse3::raw::session] handle_access; request=Request { unique: 11, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 48, opcode: 34, unique: 11, nodeid: 1, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:58Z INFO  fuse3::raw::session] handle_opendir; request=Request { unique: 12, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 48, opcode: 27, unique: 12, nodeid: 1, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:58Z INFO  fuse3::raw::session] handle_readdir; request=Request { unique: 13, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 80, opcode: 28, unique: 13, nodeid: 1, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:58Z INFO  fuse3::raw::session] handle_readdir; request=Request { unique: 14, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 80, opcode: 28, unique: 14, nodeid: 1, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:58Z INFO  fuse3::raw::session] handle_access; request=Request { unique: 15, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 48, opcode: 34, unique: 15, nodeid: 1, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:58Z INFO  fuse3::raw::session] handle_lookup; request=Request { unique: 16, uid: 0, gid: 0, pid: 1624 } in_header=fuse_in_header { len: 49, opcode: 1, unique: 16, nodeid: 1, uid: 0, gid: 0, pid: 1624, padding: 0 }
   [2024-03-27T17:20:59Z INFO  fuse3::raw::session] handle_access; request=Request { unique: 17, uid: 0, gid: 0, pid: 2127 } in_header=fuse_in_header { len: 48, opcode: 34, unique: 17, nodeid: 1, uid: 0, gid: 0, pid: 2127, padding: 0 }
   [2024-03-27T17:20:59Z INFO  fuse3::raw::session] handle_access; request=Request { unique: 18, uid: 0, gid: 0, pid: 2127 } in_header=fuse_in_header { len: 48, opcode: 34, unique: 18, nodeid: 2, uid: 0, gid: 0, pid: 2127, padding: 0 }
   [2024-03-27T17:20:59Z INFO  fuse3::raw::session] handle_open; request=Request { unique: 19, uid: 0, gid: 0, pid: 2127 } in_header=fuse_in_header { len: 48, opcode: 14, unique: 19, nodeid: 2, uid: 0, gid: 0, pid: 2127, padding: 0 }
   [2024-03-27T17:20:59Z INFO  fuse3::raw::session] handle_read; request=Request { unique: 20, uid: 0, gid: 0, pid: 2127 } in_header=fuse_in_header { len: 80, opcode: 15, unique: 20, nodeid: 2, uid: 0, gid: 0, pid: 2127, padding: 0 }
   [2024-03-27T17:20:59Z INFO  fuse3::raw::session] handle_setattr; request=Request { unique: 21, uid: 0, gid: 0, pid: 2127 } in_header=fuse_in_header { len: 128, opcode: 4, unique: 21, nodeid: 2, uid: 0, gid: 0, pid: 2127, padding: 0 }
   [2024-03-27T17:20:59Z INFO  fuse3::raw::session] handle_release; request=Request { unique: 22, uid: 0, gid: 0, pid: 2127 } in_header=fuse_in_header { len: 64, opcode: 18, unique: 22, nodeid: 2, uid: 0, gid: 0, pid: 2127, padding: 0 }
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(ofs): support freebsd [opendal]

Posted by "oowl (via GitHub)" <gi...@apache.org>.
oowl commented on PR #4403:
URL: https://github.com/apache/opendal/pull/4403#issuecomment-2023362638

   I will try MacOS fuse support later.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(ofs): add freebsd OS support [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on PR #4403:
URL: https://github.com/apache/opendal/pull/4403#issuecomment-2024875700

   > @Xuanwo Let’s merge it first? We need to wait some times to PR nix and fuse3 repo support Apple target.
   
   I'm fine to merge this PR since it doesn't break existing CI. Would you like to create an issue first?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(ofs): add freebsd OS support [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo merged PR #4403:
URL: https://github.com/apache/opendal/pull/4403


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(ofs): add freebsd OS support [opendal]

Posted by "oowl (via GitHub)" <gi...@apache.org>.
oowl commented on PR #4403:
URL: https://github.com/apache/opendal/pull/4403#issuecomment-2024670340

   @Xuanwo Let’s merge it first? We need to wait some times to PR nix and fuse3 repo support Apple target.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat(ofs): add freebsd OS support [opendal]

Posted by "oowl (via GitHub)" <gi...@apache.org>.
oowl commented on PR #4403:
URL: https://github.com/apache/opendal/pull/4403#issuecomment-2025072494

   > > @Xuanwo Let’s merge it first? We need to wait some times to PR nix and fuse3 repo support Apple target.
   > 
   > I'm fine to merge this PR since it doesn't break existing CI. Would you like to create an issue first?
   
   https://github.com/apache/opendal/issues/4409


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org