Skip to main content

KARG_COMPOSEFS_DIGEST

Constant KARG_COMPOSEFS_DIGEST 

Source
pub const KARG_COMPOSEFS_DIGEST: &str = "composefs.digest";
Expand description

Self-describing kernel argument: composefs.digest=<version>-<hash>-<lg>:<hex>.

The value encodes the EROFS format version, hash algorithm, and block size, e.g. composefs.digest=v1-sha256-12:<hex> or composefs.digest=v2-sha512-12:<hex>. Both v1 and v2 are accepted; composefs=<hex> is a legacy alias for the v2 form.

Multiple entries may appear on the cmdline with different format/algorithm combinations; the initramfs tries each in order, mounting the first image that exists in the repository.