gmailfs in debian

How to configure gmail file system in a Debian GNU/Linux System.

Installation

Just do apt-get:

        # apt-get install gmailfs fuse-source module-assistant

The dependencies are auto-magically checked.

Since fuse-source is a source for kernel module, must be compiled; the easiest way is with module-assistant:

        # m-a a-i fuse

Configuration

simple mount

Now just mount the gmailfs:

        # mount -t gmailfs none /mnt/gmail -o username=?,password=?,fsname=?

fsname could be any string, it is because of security issues.

fstab

In /etc/fstab can be inserted a line like:

        /usr/share/gmailfs/gmailfs.py /mnt/gmail gmailfs noauto,user,username=?,password=?,fsname=? 0 0

Or just:

        /usr/share/gmailfs/gmailfs.py /mnt/gmail gmailfs noauto,user 0 0

and edit /etc/gmailfs/gmailfs.conf

Finally:

        # mount /mnt/gmail
        # ls /mnt/gmail
        # umount /mnt/gmail

Author.

Luis Alfonso Vega Garcia

Return
Hosted by www.Geocities.ws

1