歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網

GmailFS

日期:2017/3/6 15:22:33   编辑:關於Unix
GmailFS provides a mountable Linux filesystem which uses your Gmailaccount as its storage medium. GmailFS is a Python application and uses the FUSE userland filesysteminfrastructure to help provide the filesystem, and libgmail to communica

GmailFS provides a mountable Linux filesystem which uses your Gmailaclearcase/" target="_blank" >ccount as its storage medium. GmailFS is a Python application and uses the FUSE userland filesysteminfrastructure to help provide the filesystem, and libgmail to communicate with Gmail.

GmailFS supports most file operations such as read, write, open,close, stat, symlink, link, unlink, truncate and rename. This meansthat you can use all your favourite unix command line tools to operateon files stored on Gmail (e.g. cp, ls, mv, rm, ln, grep etc. etc.).

Please be gentle on the code. This is my first foray into Python andI'm sure the code is far from elegant. I'm particularly concerned withmy attempts to manipulate mutable byte arrays. I'm sure that theremust be a less clumsy way of doing it than the nasty list -> array ->string path I'm currently using. This language has a reputation as anexcellent choice for rapid prototyping. The first workingversion of GmailFS took about 2 days of coding. There was anadditional 1.5 days spent on performance tuning and bugfixing. Giventhat this includes language learning curve, the reputation seemswell deserved. A special mention should go to libgmail and FUSE, both greatlycontributed to the short development time.

Copyright © Linux教程網 All Rights Reserved