make_cmdline_composefs

Function make_cmdline_composefs 

Source
pub fn make_cmdline_composefs(id: &str, insecure: bool) -> String
Expand description

Creates a composefs= kernel command line argument.

§Arguments

  • id - The composefs object ID as a hex string
  • insecure - If true, prepends ‘?’ to make fs-verity verification optional

§Returns

A string like “composefs=abc123” or “composefs=?abc123” (if insecure)