ligurio / unreliablefs

A FUSE-based fault injection filesystem.
https://ligurio.github.io/unreliablefs/unreliablefs.1.html
MIT License
177 stars 9 forks source link

Introduce configuration file #3

Closed ligurio closed 3 years ago

ligurio commented 3 years ago

Possible formats:

Configuration file should have number of sections each of them describes:

For example:

[errinj_errno]
path_regexp = *.xlog
operation_regexp =
probability = 60

[errinj_noop]
path_regexp = *.*
operation_regexp =
probability = 30