Skip to content

luks: add test for multiple partitions and fix handling if on same disk - #1281

Open
MaximilianGaedig wants to merge 2 commits into
nix-community:masterfrom
MaximilianGaedig:master
Open

luks: add test for multiple partitions and fix handling if on same disk#1281
MaximilianGaedig wants to merge 2 commits into
nix-community:masterfrom
MaximilianGaedig:master

Conversation

@MaximilianGaedig

@MaximilianGaedig MaximilianGaedig commented Jul 14, 2026

Copy link
Copy Markdown

This PR addresses the handling of multiple LUKS partitions on the same disk and adds a corresponding test case.

  • Fix: The core logic for handling multiple LUKS partitions on a single disk was improved to ensure correct partition mapping and unlocking. (Implemented using a custom pi agent and the mimo-v2.5 model).
  • Tests: Added luks-multiple test to verify the behavior of multiple LUKS partitions on the same disk. (Tests written by me).

Reproduces and fixes #1263

reproduces nix-community#1263
already fails at verifying proper unmounting because the issue exists for both mounting and
unmounting
@MaximilianGaedig MaximilianGaedig changed the title luks: add test for multiple partitions and fix handling on same disk luks: add test for multiple partitions and fix handling if on same disk Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mounting config with multiple luks containers only one will be opened

1 participant