yunfs

command module
v0.0.0-...-9a23e7f Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: BSD-2-Clause Imports: 17 Imported by: 0

README

yunfs

Yunfs is a cloud based FUSE file system.

Features

  • It's designed for achieving large scale of files.
  • Everything on cloud, one can get his file system as long as he can access the cloud.
  • Supporting multiple cloud service provides (Aliyun OSS, Amazon S3, ...).
  • All the files are encrypted.
  • Advanced cache system.
  • Support Linux & OSX.

Dependency

  • github.com/hanwen/go-fuse/fuse
  • github.com/aliyun/aliyun-oss-go-sdk

Usage

git clone https://github.com/Jiajun-Fan/Yunfs
go build github.com/Jiajun-Fan/yunfs
./yunfs

Configuration

{
    "oss": {
        "type": "",     # cloud storage type ("aliyun", "s3", ...)
        "key": "",      # access key
        "secret": "",   # access secret
        "bucket": "",   # bucket name
        "end_point": "" # cloud storage end point URL
    },
    "encrypt": {
        "type": "",     # encrypt type ("aes" ...)
        "key": ""       # encrypt key
    },
    "file_system": {
        "block_size": 1024, # entry number in each meta file
        "cache_size": 0,    # max entry number in local cache
        "meta_prefix": "",  # prefix for storing meta file
        "mount_point": ""   # mount point
    }
}

Milestones

Milestones Description Status
1 Read only file system with encryption & decryption Done
2 Support Aliyun OSS Done
3 Support writable file system In progress
4 Local cache system TODO
5 Support more cloud service provides TODO
6 Performance optimazition TODO

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