[openbeos] Re: googlefs working in Haiku

  • From: "Ari Haviv" <arielbhaviv@xxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 21 Jan 2007 02:21:33 -0500

Just in time for the google tech talks! :)

On 1/19/07, François Revol <revol@xxxxxxx> wrote:
In case you missed the logs, I commited googlefs to svn, and fixed it
to work with Haiku's VFS. It's probably a simple enough (the kernel
interface, the rest is ugly :P) sample on how to keep R5 source
compatibility for fs modules.
It's also showing how to use sockets from the kernel. ksocket.h is a
wrapper that can also be used with userland (testing) and BONE.
The rest of the code is not for the faint hearts, mostly written in a
rush and never cleaned up.

For those who lived in an alternate universe,
simply put it's an 8-billion entries queriable bookmark.

For the eyes:
http://revolf.free.fr/beos/shots/shot_googlefs_haiku_002.png

For the impatients:

* svn up && jam an image
* make sure your network is set up (qemu handles DHCP nicely it seems).
* in the terminal, type:
mkdir /google
mount -t googlefs /google

* you can now use the "Search Google" query template in the "Google"
volume.

For sorting handiness you can add this to your mime db:
setmime -add application/x-vnd.Be-bookmark \
                -attribute "GOOGLE:order" -attrName "Google order" \
                -attrType 'LONG' -attrWidth 40 -attrAlignment right \
                -attrViewable 1 -attrEditable 1 -attrExtra 0

and make a default query template with it sorted.

François.



Other related posts: