From: Gary K. <gr...@re...> - 2007-12-03 07:28:25
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm looking to write a FUSE plugin for an app I'm working on (exporting some data structures to a file system would make debugging a bit easier) and I'm not quite sure this is even possible. I see that I should be using fuse_main, but theres a few issues with that. First off, I won't have argc and argv available to me when FUSE is initialized. I can hack around this, but that seems unnecessary to me. Also, I don't want SIG_HUP, SIG_INT, SIG_TERM, or SIG_PIPE handled, which of course fuse_main sets up. I've dug through the source a bit, and discovered fuse_mount_common and fuse_mount_compat don't appear to be exported (they're static). So I guess my question is, is there a way to embed FUSE into an app, via a plugin or other means, without having (or hacking around) arg[cv] and without installing the signal handlers? - -- Gary Kramlich <gr...@re...> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHU7AYdf4lmqisgDIRAnNIAJ9INEXZcl/Vs63ytNINJxqBD488WACfT4V2 x4xbSgZ3CmQUkoZxSNaJexg= =MxYh -----END PGP SIGNATURE----- |