From db2bd1f69a9d1b2d27c690d1b5219b4d22a3c1ca Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Wed, 29 Nov 2023 17:36:31 +0100 Subject: [PATCH] docs(mkdwarfs): update section on producing bit-identical images --- doc/mkdwarfs.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/doc/mkdwarfs.md b/doc/mkdwarfs.md index 84184f92..9652c9af 100644 --- a/doc/mkdwarfs.md +++ b/doc/mkdwarfs.md @@ -510,17 +510,12 @@ at the cost of using a lot more memory when using the filesystem. ### Producing bit-identical images By default, images produced by `mkdwarfs` will not be identical -over multiple runs. There are two reasons for this: - -- A creation timestamp is embedded in the image. - -- The `nilsimsa` ordering algorithm is not deterministic by - default. +over multiple runs. This is due to time stamps that are being added +to the file system image. In order to produce bit-identical images, you need to pass -`--no-create-timestamp` and set `--order` to `path` or `similarity`. -You could also set `--order=none` and pass in files explicitly -using `--input-list`. +`--no-create-timestamp` and either `--no-history-timestamps` or +`--no-history`. ## FILTER RULES