restic/fakedatafs

Name: fakedatafs

Owner: The restic backup program

Description: FUSE filesystem with (deterministic) fake data

Created: 2016-02-27 13:29:04.0

Updated: 2018-05-24 18:58:28.0

Pushed: 2018-05-08 18:42:07.0

Homepage: null

Size: 1480

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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.3), then run go run build.go, afterwards you'll find the binary in the current directory:

$ go run build.go

$ ./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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.