Hide only current running TailsData
Originally created by Tails on #5812 (Redmine)
Tails now hides the TailsData partition, so that persistence partition that is used doesn’t appear twice (see persistence: hide or fix TailsData volume (#5503 (closed))
However, this actually hides any partition that is labeled TailsData. What if I am using Tails to look the content of the persistent partition of another Tails USB stick (e.g. to fix issues or make backups)?
- add a similar udev rule when the persistence is activated, matching the (known) UUID of the partition and not its label.
- add a static udev rule that only hides such a partition if it’s
found on the boot device by using the same approach as in
/etc/udev/rules.d/99-boot-dev-ownership.rules(introduced in branch
bugfix/writable_boot_media). A difference compared to the other fix suggested would be that this fix always hides the boot device’s TailsData partition, even if it’s not activated, which we may or may not want. I thought a bit about it and could not find any drawback in doing this, as long as the non-activated TailsData can be deleted using t-p-s, and appears in the GNOME Disk Utility (e.g. to run fsck on it).
- Related to #5595 (closed)