Skip to content

[BUG] Compact does not check the drive space usage #303

@Perusae

Description

@Perusae

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Running compact on a drive with 100Gb available, with a 200Gb vhdx file, will fill up the drive and potentially result in a error.

Expected Behavior

A pre-check is needed before allowing compacting to ensure that space is available.

Steps To Reproduce

No response

Environment

- Windows Version: 10
- WSL Distro Manager Version: 1.1.0
- WSL Version:  2.6.3.0
- Source:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions