guelfey / drivefs

FUSE filesystem for Google Drive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drivefs - FUSE filesystem for Google Drive

Drivefs lets you mount your Google Drive as a folder in your filesystem. It is in a very early stage, but it supports reading both normal files and documents.

Installation

You need to set up a Go environment first and add $GOPATH/bin to your $PATH. Then run:

$ go get github.com/guelfey/drivefs
$ drivefs --init

You can now mount your Google Drive with drivefs MOUNTPOINT and unmount it with fusermount -u MOUNTPOINT.

Implemented features

FUSE method Normal files Normal directories Document files Document directories
Access No No No No
Chmod No No No No
Chown - - - -
GetAttr Yes Yes Yes Yes
GetXAttr No No No No
Link Yes - - -
ListXAttr No No No No
Mkdir - No - -
Mknod - - - -
Open Yes - Yes -
OpenDir - Yes - Yes
Read Yes - Yes -
Readlink - - - -
RemoveXAttr No No No No
Rename No No - No
Rmdir - Yes - Yes
SetXAttr No No No No
Symlink - - - -
Truncate No No No No
Unlink Yes - - -
Utimens Yes Yes Yes Yes
Write No - No -

To do

  • Implement missing FUSE methods (see above).
    • Figure out how to represent permissions.
  • Handle files with same name somehow.
  • Make read buffering smarter.
  • Moar performance!
    • Use gzip for some calls?

License

Drivefs is licensed under a modified BSD license. See the LICENSE file for the full text.

About

FUSE filesystem for Google Drive

License:BSD 2-Clause "Simplified" License


Languages

Language:Go 100.0%