Skip to content
forked from kahing/goofys

Fork of goofys, changing 1PB of total space to 999TB so nextcloud can recognize it.

License

Notifications You must be signed in to change notification settings

dale0525/goofys

 
 

Repository files navigation

Overview

Fork of kahing/goofys, with the main purpose to change the mounted disk space from 1PB to 999TB so nextcloud can recognize it.

Installation

build from source with Go 1.10 or later:

export GOPATH=$HOME/go
mkdir -p  $HOME/go/src/github.com/dale0525/
cd $HOME/go/src/github.com/dale0525/
git clone https://github.com/dale0525/goofys.git
cd goofys
git submodule init
git submodule update
make build
chmod +x goofys
cp goofys /usr/bin/

Usage

$ cat ~/.aws/credentials
[default]
aws_access_key_id = AKID1234567890
aws_secret_access_key = MY-SECRET-KEY
$ $GOPATH/bin/goofys <bucket> <mountpoint>
$ $GOPATH/bin/goofys <bucket:prefix> <mountpoint> # if you only want to mount objects under a prefix

Users can also configure credentials via the AWS CLI or the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.

To mount an S3 bucket on startup, make sure the credential is configured for root, and can add this to /etc/fstab:

goofys#bucket   /mnt/mountpoint        fuse     _netdev,allow_other,--file-mode=0666,--dir-mode=0777    0       0

About

Fork of goofys, changing 1PB of total space to 999TB so nextcloud can recognize it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 93.2%
  • Shell 5.3%
  • Other 1.5%