GmailFS
Setting up GmailFS
First, get SuperUser priviledges:
sudo -s -H
Install the needed packages:
sudo aptitude install gmailfs
Create the directory for the filesystem:
mkdir /mnt/g
Adjust the priviledges:
REMEMBER TO REPLACE "USERNAME" WITH YOUR USERNAME!
chmod 777 /mnt/g chown USERNAME:USERNAME /mnt/g
Open /etc/fstab and insert this in the bottom:
REMEMBER TO REPLACE "USERNAME" AND "PASSWORD" WITH YOUR ACCOUNT INFORMATION! - fsname should be set as something hard to guess!
/usr/share/pycentral/gmailfs/site-packages/gmailfs.py /mnt/g gmailfs username=USERNAME,password=PASSWORD,fsname=RANDOM
Run "mount -a" to see if everything is fine: (This will be done automatically after reboot!)
mount -a
Troubleshooting
HTTP Error 400: Bad Request
The HTTP 400 error is probably due to bugs in libgmail, please go to their homepage and manually upgrade to the newest version:
http://sourceforge.net/projects/libgmail/
News
Check out the GmailFS page, to see if there's been any changes lately:
http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html