Skip to content

Feature: Make mkfs.btrfs allow the creation of subvolumes with nocow attributes #984

Open
@aplanas

Description

@aplanas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions