From 4dccfd16b14956b8af0f8945330e2b7bf9b1eda8 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Sat, 19 Apr 2025 17:01:22 -0600 Subject: [PATCH] remove size_in_sectors for root partition as it completely fills the drive for the root partition --- src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 2bb35d6..c1b5ffc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -40,11 +40,6 @@ fn format_drive(drive_name: &str) -> rsfdisk::Result<()> { let root = Partition::builder() .partition_type(partition_type) .name("Root") - // Flash drive testing - //.size_in_sectors(121_634_816) - // Internal drive testing - .size_in_sectors(499_033_071_61) - // replace static int with a variable .build()?; let _ = disk.partition_add(root)?;