~:: kalyan ::~


Initially i thought gmailfs does provides the mails as files so that i can see the mails as a text file. But latter i understood it is not. It uses the trivial method of storing files as attachments. Thats what I do normally for file transfer. It also does in the same method but it is simply not just that. It is a file system. The files are stored as attachment and the directory structure is stored in numbers as a text message. I guess all those are inode numbers. The text looks like this e=16877 u=0 g=0 s=1 a=1192085101 m=1192085968 c=1192085101 z=5242880My gmail looks like this after creating few files and directories.

For installation i followed the instruction from here. It perfectly works fine. You need to have

You should be getting all of this required stuff except the last three in your distro itself. I use opensuse 10.3 and it is perfect. When i try installing python fuse binding it gives an error saying “you might need to adjust PKG_CONFIG_PATH or yourFUSE installation is very old (older than 2.1-pre1)”. I could not figure out why is that so. I could not find fuse.pc file in my machine. So rather than burying my head into a existing one, I had installed an another version of fuse in /usr/local/myfuse from the source. And set the PKG_CONFIG_PATH path to the dir /usr/local/fusek/lib/pkgconfig and now it works fine.

While installing the fuse python binding the INSTALL file says do only python setup.py build. But that is not required i guess.When i did this i got some error message. Dont remember what was that. Then i did python setup.py install too. Then it works fine.

The liggmail and gmailfs does not contain any make, configure processes. Those are need to copied to the proper location. As in the blog it was mentioned ibgmail.py and lgconstants.py need to copied /usr/local/lib/python2.3/site-packages/ for Debian system. In suse i copied them too /usr/lib/python2.5/site-packages/ it worked very well for me.

While installing gmailfs i copied gmailfs.py to /usr/sbin/

When i mounted it it failed for two three times. Then latter it picked up. It works very slow. I wont be complaining about that. It is expected i guess.

The mount command is mount -t gmailfs /usr/sbin/gmailfs.py /path/of/mount/point -o username=gmailuser, password=gmailpass, fsname=zOlRRa

Hmm! One more thing i forgot to mention. It asked for gmailfs.conf either from /etc/ or from ~/ folder. You can get the gmailfs in the extracted folder of gmilfs tar ball.

I configured only the below attributes

username = **kalyan***
password = *******

fsname = linux_fs_3

level = DEBUG

Make it DEBUG. It is very useful to see what is happening. It throws a good amount of log in ~/gmailfs.log

My gmailfs does contain my .emacs and a test dir and sample file. It shows as

Good job. Probably will look at the fuse part when i get time.



  1. […] How i configured gmailfs for my account is here […]

    Pingback by gmailfs « ~:: kalyan ::~ — October 11, 2007 @ 8:54 am

  2. In case the python setup.py build error you saw was:

    error: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)

    Then you need to install the python-devel package:

    zypper install –auto-agree-with-licenses –force python-devel

    So I think this can be added to the list of requirements?

    Comment by Mark — July 10, 2008 @ 1:22 am

  3. HUH 🙂

    Comment by gtrmama — July 15, 2009 @ 5:40 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at WordPress.com.

%d bloggers like this: