[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ mirrorfs Public

Mirror filesystem operations and check for consistency

License

Notifications You must be signed in to change notification settings

gaul/mirrorfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mirrorfs

A FUSE filesystem that mirrors operations and checks for consistency. mirrorfs ensures that the results of operations are exactly the same, e.g., system call results, errnos, stat structs, read buffers. This can help test an in-development filesystem against a known good one, e.g., ext4.

Usage

On Fedora, install dependencies via:

sudo dnf install fuse3 fuse3-devel fuse3-libs

Build via make then run via:

./mirrorfs GOOD_PATH TESTING_PATH MOUNT_PATH

If you provide the -f option mirrorfs will start in the foreground and log its operations. Now programs can interact with MOUNT_PATH as usual. When mirrorfs detects an inconsistency it will log the diverging result and abort.

License

Copyright (C) 2019 Andrew Gaul

Licensed under the MIT License

About

Mirror filesystem operations and check for consistency

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published