[systemd-devel] the need for a discoverable sub-volumes specification

Lennart Poettering lennart at poettering.net
Mon Dec 20 12:45:33 UTC 2021


On Fr, 10.12.21 12:25, Chris Murphy (lists at colorremedies.com) wrote:

> On Thu, Nov 11, 2021 at 12:28 PM Lennart Poettering
> <mzerqung at 0pointer.de> wrote:
>
> > That said: naked squashfs sucks. Always wrap your squashfs in a GPT
> > wrapper to make things self-descriptive.
>
> Do you mean the image file contains a GPT, and the squashfs is a
> partition within the image? Does this recommendation apply to any
> image? Let's say it's a Btrfs image. And in the context of this
> thread, the GPT partition type GUID would be the "super-root" GUID?

Yes, I'd always add a GPT wrapper around disk images. It's simple,
extensible and first and foremost self-descriptive: you know what you
are looking at, safely, before parsing the fs. It opens the door for
adding verity data in a very natural way, and more.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list