https://github.com/restic/fakedatafs
FUSE filesystem with (deterministic) fake data
https://github.com/restic/fakedatafs
Last synced: over 1 year ago
JSON representation
FUSE filesystem with (deterministic) fake data
- Host: GitHub
- URL: https://github.com/restic/fakedatafs
- Owner: restic
- License: bsd-2-clause
- Created: 2016-02-27T13:29:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-01-01T11:23:37.000Z (over 6 years ago)
- Last Synced: 2025-04-22T13:18:28.776Z (over 1 year ago)
- Language: Go
- Size: 1.41 MB
- Stars: 39
- Watchers: 7
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.com/restic/fakedatafs)
[](http://goreportcard.com/report/restic/fakedatafs)
fakedatafs is a file system that generates fake data on demand in a
deterministic way. It is implemented as a FUSE module and can be used to test
backup software.
Build fakedatafs
================
Install Go/Golang (at least version 1.11), then run `go build`,
afterwards you'll find the binary in the current directory:
$ go build
$ ./fakedatafs /mnt/dir
filesystem mounted at /mnt/dir
$ ls -al /mnt/dir
total 5078
-rw-r--r-- 1 root root 15327 Aug 30 1754 file-121872730593067849
-rw-r--r-- 1 root root 89978 Aug 30 1754 file-1269644873002022781
-rw-r--r-- 1 root root 879 Aug 30 1754 file-1403895313298597120
[...]
At the moment, the only tested compiler for restic is the official Go compiler.
Building restic with gccgo may work, but is not supported.