drivefs

command module
v0.0.0-...-0e6c91d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2013 License: BSD-2-Clause Imports: 17 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL