probe_disks parsed lsblk human-readable sizes as bytes, so every disk reported 0 B and the size-based identity check was blind; pass -b. Re-probe the selected disk immediately before the destructive stage and refuse if it disappeared, became protected (mounted/read-only/live) or changed size/model since the review. Add regression tests for each case. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||