Bug: Loop Device Index Grows on Failed Wipe Attempts
Description
When wiping loop-backed devices (e.g. virtual disks in QEMU), SecureWipe assigns synthetic identifiers such as:
/dev/loop0
/dev/loop1
/dev/loop2
If a wipe operation fails and is retried, the loop index keeps increasing, resulting in:
- Mismatched confirmation prompts
- Confusing device identity
- Unsafe user experience for retries
Loop device numbering should remain stable and deterministic across retries.
Steps to Reproduce
- Boot SecureWipe in a virtualized environment
- Attach a loop-backed disk
- Attempt a wipe that fails
- Retry the wipe
- Observe that the loop identifier changes
Expected Behavior
- Loop devices retain a stable identity across retries
- Confirmation prompts remain consistent
- Failed wipes do not create new synthetic identifiers
Acceptance Criteria
- Loop device identity remains consistent after failures
- Retrying a wipe does not alter the displayed device name
- Confirmation logic works reliably for loop-backed disks
Bug: Loop Device Index Grows on Failed Wipe Attempts
Description
When wiping loop-backed devices (e.g. virtual disks in QEMU), SecureWipe assigns synthetic identifiers such as:
/dev/loop0/dev/loop1/dev/loop2If a wipe operation fails and is retried, the loop index keeps increasing, resulting in:
Loop device numbering should remain stable and deterministic across retries.
Steps to Reproduce
Expected Behavior
Acceptance Criteria