minio/pkg/fs
Harshavardhana aaf97ea02c config/main: Re-write config files - add to new config v3
- New config format.

```
{
	"version": "3",
	"address": ":9000",
    "backend": {
          "type": "fs",
          "disk": "/path"
    },
	"credential": {
		"accessKey": "WLGDGYAQYIGI833EV05A",
		"secretKey": "BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF"
	},
	"region": "us-east-1",
	"logger": {
		"file": {
			"enable": false,
			"fileName": "",
			"level": "error"
		},
		"syslog": {
			"enable": false,
			"address": "",
			"level": "debug"
		},
		"console": {
			"enable": true,
			"level": "fatal"
		}
	}
}
```

New command lines in lieu of supporting XL.

Minio initialize filesystem backend.
~~~
$ minio init fs <path>
~~~

Minio initialize XL backend.
~~~
$ minio init xl <url1>...<url16>
~~~

For 'fs' backend it starts the server.
~~~
$ minio server
~~~

For 'xl' backend it waits for servers to join.
~~~
$ minio server
... [PROGRESS BAR] of servers connecting
~~~

Now on other servers execute 'join' and they connect.
~~~
....
minio join <url1> -- from <url2> && minio server
minio join <url1> -- from <url3> && minio server
...
...
minio join <url1> -- from <url16> && minio server
~~~
2016-03-23 19:16:09 -07:00
..
api_suite_test.go Fix for Istruncated set to true under certain conditions. 2016-03-22 10:09:16 +05:30
dir.go Formatting issues fixed. 2016-03-22 15:55:29 +05:30
fs_test.go config/main: Re-write config files - add to new config v3 2016-03-23 19:16:09 -07:00
fs-backend-metadata.go accessPolicy: Implement Put, Get, Delete access policy. 2016-03-08 17:44:50 -08:00
fs-bucket_test.go config/main: Re-write config files - add to new config v3 2016-03-23 19:16:09 -07:00
fs-bucket-listobjects_test.go config/main: Re-write config files - add to new config v3 2016-03-23 19:16:09 -07:00
fs-bucket-listobjects.go Changing to empty response when prefixDir doesn't exist 2016-03-23 04:46:10 +05:30
fs-bucket.go cleanup: Rename ObjectMetadata as ObjectInfo. 2016-03-11 16:58:08 -08:00
fs-datatypes.go cleanup: Rename ObjectMetadata as ObjectInfo. 2016-03-11 16:58:08 -08:00
fs-errors.go accessPolicy: Implement Put, Get, Delete access policy. 2016-03-08 17:44:50 -08:00
fs-multipart.go cleanup: Rename ObjectMetadata as ObjectInfo. 2016-03-11 16:58:08 -08:00
fs-object_test.go config/main: Re-write config files - add to new config v3 2016-03-23 19:16:09 -07:00
fs-object.go Issue of 'mc ls' when prefix is a directory fixed, tests added for GetObjectInfo 2016-03-23 19:42:04 +05:30
fs-utils_test.go Better structuring of fs-utils test 2016-03-11 19:19:47 +05:30
fs-utils.go Changing to empty response when prefixDir doesn't exist 2016-03-23 04:46:10 +05:30
fs.go config/main: Re-write config files - add to new config v3 2016-03-23 19:16:09 -07:00