Add enhanced partitioning system with multiple tool support
- Add --partitioner option supporting parted, sgdisk, sfdisk, auto - Implement fallback mechanism when tools fail - Add robust partition verification and validation - Improve error handling and logging - Add loop device management with retry logic - Support different partition size units (kB, MB, MiB) - Integrate partitioning approaches from partition_creator.rs Features: - Auto-selection tries parted -> sgdisk -> sfdisk - User can force specific tool with --partitioner - Graceful fallback for unknown tools - Detailed logging of which tool is used - Proper resource cleanup and error recovery
This commit is contained in:
parent
47c2e596ff
commit
fa22f3f903
2 changed files with 1028 additions and 106 deletions
997
src/main.rs
997
src/main.rs
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue