-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I don't quite understand the difference between mountpoint and -basedir
path, and how the config file is called by the unreliablefs binary.
In addition, I don’t quite understand the regular expression for setting matching file operations. Are there any enumeration values available?
It seems that the //unreliablefs.conf path is forced to be specified, but -base_dir does not take effect in my system.
the code :
# cat /tmp/fs/unreliablefs.conf
[errinj_noop]
op_regexp = .*
path_regexp = .*
probability = 30
# ./unreliablefs /tmp/fs -d -base_dir=/tmp -seed=1618680646
random seed = 1618680646
read configuration //unreliablefs.conf
enabled error injection errinj_slowdown
[errinj_slowdown] op_regexp = .*
[errinj_slowdown] path_regexp = .*
[errinj_slowdown] probability = 30
[errinj_slowdown] duration = 100
enabled error injection errinj_noop
[errinj_noop] path_regexp = .*
[errinj_noop] op_regexp = .*
[errinj_noop] probability = 70
enabled error injection errinj_errno
[errinj_errno] path_regexp = *.xlog
[errinj_errno] probability = 4
starting FUSE filesystem unreliablefs
fuse: unknown option(s): `-base_dir=/tmp'
# busyboxhm.elf vi //unreliablefs.conf
Can you give me more help?
Metadata
Metadata
Assignees
Labels
No labels