Hi folks,

Martin Owens asked recently about my thoughts regarding a FUSE filesystem
for Barry, so I decided to take a closer look at libfuse.

I spent most of Friday writing a FUSE driver (is that what you call
these things? :) ) for Barry.  It is in CVS/git, and is at an experimental
stage right now, but it is possible to poke around a PIN/Database/Record
tree, and get parsed data out of your Blackberry with a 'cat' command.

In order to play with it, you will need:

        - a kernel with the fuse module loaded
        - libfuse-dev version 2.5 or higher
        - the latest CVS/git sources for Barry...you'll need to compile it
                yourself at the moment... binaries will be coming
                eventually

On my system, I'm in the fuse group, so I just do:

        mkdir /tmp/mymountpoint
        tools/bfuse -s -d  /tmp/mymountpoint

Then navigate /tmp/mymountpoint with your file manager of choice.

Bfuse will look for all Blackberry devices it can find on the USB bus, and
access them all, putting their pin numbers as the root directories on
your mount point.  All these Blackberries will appear to be in Desktop mode.

This is an early attempt, and I don't have the error handling nailed
down completely yet, so if you get a C++ device exception, then bfuse
will just crash.  Just run 'fusermount -u /tmp/mymountpoint' and
try again.  FUSE is nice that way. :-)  If you can run it inside gdb
and report where it crashed, that's even better.

Outside of device exceptions (such as timeouts or unplugging your device)
it should run fine.

Let me know what you think.

Thanks,
- Chris


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to