Commit 6f3b3fb3 authored by ploup's avatar ploup

Update README.md: reordered sections for clarity

parent 573a9531
......@@ -4,6 +4,18 @@ Python script for comparing Tails systems, in the form of .img files or block de
Related issue: [#7496](https://gitlab.tails.boum.org/tails/tails/-/issues/7496)
# Usage
* Compare a Tails key with a downloaded Tails image:
`python3 tails_comparison.py /dev/sdb tails_image.img`
* Compare two Tails keys:
`python3 tails_comparison.py /dev/sdb /dev/sdc`
*Note: it isn't possible to compare the currently running Tails system with another Tails system (if you see a way to do that, ploup is interested).*
# How does it work
**What the script does:**
......@@ -40,18 +52,6 @@ Related issue: [#7496](https://gitlab.tails.boum.org/tails/tails/-/issues/7496)
* python `sh` module (which is included in Tails)
* shell commands `mount`, `umount` and `losetup`, which should be available everywhere
# Usage
* Compare a Tails key with a downloaded Tails image:
`python3 tails_comparison.py /dev/sdb tails_image.img`
* Compare two Tails keys:
`python3 tails_comparison.py /dev/sdb /dev/sdc`
*Note: it isn't possible to compare the currently running Tails system with another Tails system (if you see a way to do that, ploup is interested).*
# Example output
In this example, the script was used to compare a Tails USB device that has been upgraded multiple times, up to the 4.6 version, to a freshly downloaded Tails 4.6 image file. We can see that the systems are almost identical, apart from a few files that differ for understandable reasons.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment