You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using LazyFS for fault injection, but I need to target files where the names aren’t known in advance. It would be great if I could use a wildcard (e.g., *.txt) in the configuration instead of specifying exact file names. Right now, trying to add faults after files are created hasn’t worked.
Example Configuration
Current setup:
[[injection]]
type="torn-op"file="output1.txt"occurrence=5parts=3# or parts_bytes=[4096,3600,1260]persist=[1,3]
What I would like to use:
[[injection]]
type="torn-op"file="*.txt"occurrence=5parts=3# or parts_bytes=[4096,3600,1260]persist=[1,3]
Feature Request
Please add wildcard support (like *)for the file field to make fault injection work with dynamic file names.
Expected Behavior
Applying fault rules to any file that matches a wildcard (e.g., *.txt).
If there’s a workaround I may have missed, I would greatly appreciate your guidance. Thank you for your time and consideration!
The text was updated successfully, but these errors were encountered:
I'm using LazyFS for fault injection, but I need to target files where the names aren’t known in advance. It would be great if I could use a wildcard (e.g.,
*.txt
) in the configuration instead of specifying exact file names. Right now, trying to add faults after files are created hasn’t worked.Example Configuration
Current setup:
What I would like to use:
Feature Request
Please add wildcard support (like
*
)for thefile
field to make fault injection work with dynamic file names.Expected Behavior
*.txt
).If there’s a workaround I may have missed, I would greatly appreciate your guidance. Thank you for your time and consideration!
The text was updated successfully, but these errors were encountered: