Add update-only mode for test dataset generator
Add support for running content updates against an existing migration test dataset without recreating the filesystem structure. Also make ACL/xattr updates non-fatal on filesystems that do not support those operations.
This commit is contained in:
@@ -7,12 +7,14 @@ The generator script can also run in continuous update mode after initial creati
|
||||
- omit the interval argument to create the dataset once and exit
|
||||
- use `0` for continuous rewrites with no sleep between passes
|
||||
- use any integer greater than `0` to rewrite mutable files every `N` seconds
|
||||
- use `--update-only` to run updates against an already-existing dataset without recreating the special-case filesystem objects first
|
||||
|
||||
Important implementation detail for update mode:
|
||||
|
||||
- the update loop rewrites content-bearing regular files that are intended to simulate active data churn
|
||||
- it does not rewrite script files, sparse files, symlinks, hard links, or empty files
|
||||
- this preserves the special-case filesystem structure while still generating ongoing content changes
|
||||
- if ACL/xattr assignment is unsupported on the target filesystem, the script logs that condition and continues
|
||||
|
||||
## Recommended Root Layout
|
||||
|
||||
|
||||
Reference in New Issue
Block a user