Open
Description
Since btrfs-progs 6.11, mkfs.btrfs has the option of creating subvolumes via the "--subvol TYPE:SUBDIR" parameter. This is a very nice feature leveraged by "systemd-repart" to create btrfs subvolumes without root, as does not requires loopback mounts.
Currently the supported types are "ro, rw, default, default-ro", but nocow is not supported. Extending this parameter to address the cow attribute will help to create images that uses btrfs nocow subvolumes via mkosi without root.
More info: systemd/mkosi#3711