FUSE filesystem with (deterministic) fake data
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alexander Neumann 90fd4aa013 Move to Go Modules
2020-01-01 12:22:07 +01:00
.gitignore Initial commit 2016-02-27 14:38:58 +01:00
.travis.yml Only test latest stable Go version 2017-12-02 16:53:46 +01:00
cache.go Switch to idiomatic repo layout and dep 2017-12-02 16:28:40 +01:00
dir.go Switch to idiomatic repo layout and dep 2017-12-02 16:28:40 +01:00
file.go Switch to idiomatic repo layout and dep 2017-12-02 16:28:40 +01:00
file_test.go Switch to idiomatic repo layout and dep 2017-12-02 16:28:40 +01:00
fs.go Switch to idiomatic repo layout and dep 2017-12-02 16:28:40 +01:00
fs_test.go Switch to idiomatic repo layout and dep 2017-12-02 16:28:40 +01:00
go.mod Move to Go Modules 2020-01-01 12:22:07 +01:00
go.sum Move to Go Modules 2020-01-01 12:22:07 +01:00
inode.go Switch to idiomatic repo layout and dep 2017-12-02 16:28:40 +01:00
inode_test.go Switch to idiomatic repo layout and dep 2017-12-02 16:28:40 +01:00
LICENSE Initial commit 2016-02-27 14:38:58 +01:00
main.go Fix version 2017-12-02 17:12:52 +01:00
README.md Move to Go Modules 2020-01-01 12:22:07 +01:00

Build Status Report Card

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.