Allan, Sam Having tried both approaches C API on one side, and Obj-C framework on the other side, I found the framework easier to deal with (above all if you implement read-write). My file system was read-write, significantly complex and to add to the complexity the actual file/folder management was written in another programming language than Obj-C (the Obj-C code behaving like a bridge between MacFUSE and the actual data management).
Allan, If you start your project, I would also recommend to get all the read part working first. Not that the write part is difficult, but getting the read part working is a good stepping stone, ... and as Sam said, good luck ! This said, we are always here to answer questions :-) Cheers, On 25 May 2011, at 16:07, Sam Moffatt wrote: > Well the first step would be to get a client app that behaved like a > file system to do stuff like directory listings, read files, write > files, etc. You'll need to write that in a language that can access > the MacFUSE libraries (I'm a C person, being a Mac obviously Obj-C is > an option). The main idea is that you build the client independent of > the file system so that you can test the client first before you try > and debug a file system. > > Once you've got a reasonable handle on the client, the next step is to > build the file system. Effectively this comes down to looking at the > list of FUSE callbacks and providing what it wants. Reading the man > pages for the equivalent calls from user space go a long way to > understanding how things should behave. You're probably familiar with > the usual cases but in implementing a file system there will be > however reading through the possible error codes to ensure that you > return something consistent and logical is useful. > > So yes its possible, thats roughly how I'd approach it and good luck! > > Sam Moffatt > http://pasamio.id.au > > > > On Wed, May 25, 2011 at 12:01 PM, Allan MacGregor > <[email protected]> wrote: >> Hi >> I stumbled with Mountee and I was wondering how did they achieved to mount >> the template files just using ExpresionEngine login ? >> Would it be possible to have a php SOAP/XML-RPC api that can be accessed by >> a desktop app and the mounted to as a local filesystem using MacFuse ? >> If anyone can pointing to what would be involved into implementing something >> like that I would be must grateful. >> Kind Regards >> >> -- >> You received this message because you are subscribed to the Google Groups >> "MacFUSE" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/macfuse?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "MacFUSE" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/macfuse?hl=en. > -- You received this message because you are subscribed to the Google Groups "MacFUSE" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/macfuse?hl=en.
