Also, you may take a look at my dirty GlusterFS FUSE API client that uses fuse_main():

https://github.com/pfactum/xglfs

11.02.2016 02:10, Samuel Hall написав:
Hello everyone,

I am trying to find where FUSE is initialized and the fuse_main
function is called by Gluster.

Normally the call by File-Systems using FUSE looks like this:

int main(int argc, char *argv[])

{

    ….

    return fuse_main(argc, argv, &prefix_oper, NULL);

}

I can't find any similar pattern in Gluster.

Also I am looking the operations struct (prefix_oper in the example
above), which contains the fuse operations. I found similar structs in
different Gluster translators. Where can I find the one being used for
FUSE?

The reason for those questions is, that I'm trying to integrate
Gluster in a microkernel OS, to which FUSE has been ported. But to be
able to use FUSE some changes have to made in calling the fuse_main.

Kind regards
Hall Samuel
_______________________________________________
Gluster-users mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-users

Reply via email to