Skip to content

mkfs.btrfs refuses to make filesystem if another filesystem on the same device is mounted #640

@DaanDeMeyer

Description

@DaanDeMeyer

If I try to run mkfs.btrfs on a loop device that represents a specific offset + size of another loop device, and that other loop device has existing partitions that are mounted, mkfs.btrfs will fail with "ERROR: /dev/loopxxx is mounted". Given that it's a completely different filesystem that is actually mounted, mkfs.btrfs should not fail in this case or at least provide an option to override the check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmkfsChanges in mkfs.btrfs

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions