docs(mkdwarfs): update section on producing bit-identical images

This commit is contained in:
Marcus Holland-Moritz 2023-11-29 17:36:31 +01:00
parent 2bf6699241
commit db2bd1f69a

View File

@ -510,17 +510,12 @@ at the cost of using a lot more memory when using the filesystem.
### Producing bit-identical images ### Producing bit-identical images
By default, images produced by `mkdwarfs` will not be identical By default, images produced by `mkdwarfs` will not be identical
over multiple runs. There are two reasons for this: over multiple runs. This is due to time stamps that are being added
to the file system image.
- A creation timestamp is embedded in the image.
- The `nilsimsa` ordering algorithm is not deterministic by
default.
In order to produce bit-identical images, you need to pass In order to produce bit-identical images, you need to pass
`--no-create-timestamp` and set `--order` to `path` or `similarity`. `--no-create-timestamp` and either `--no-history-timestamps` or
You could also set `--order=none` and pass in files explicitly `--no-history`.
using `--input-list`.
## FILTER RULES ## FILTER RULES