https://github.com/dearcode/etcdfs
etcd fs
https://github.com/dearcode/etcdfs
Last synced: 5 months ago
JSON representation
etcd fs
- Host: GitHub
- URL: https://github.com/dearcode/etcdfs
- Owner: dearcode
- License: apache-2.0
- Created: 2020-10-13T09:37:26.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-13T10:13:02.000Z (over 5 years ago)
- Last Synced: 2024-06-20T16:51:35.187Z (about 2 years ago)
- Language: Go
- Size: 7.81 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
etcdfs
=======
Use etcd as a filesystem
Install
====================
Clone the project and build it.
```bash
make
```
This generates an executable file ```etcdfs```. You can mount etcd as a filesystem by running:
```bash
./bin/etcdfs -etcd_user root -etcd_password 123456 -etcd_endpoints 127.0.0.1:2379 -mount_path /tmp/kaka
```
Then you can access ```/tmp/kaka``` and use etcd as a filesystem.
To unmount it:
```bash
fusermount -u /tmp/kaka
```