remove size_in_sectors for root partition as it completely fills the drive for the root partition

This commit is contained in:
Aaron Honeycutt 2025-04-19 17:01:22 -06:00
parent e2450857be
commit 4dccfd16b1

View file

@ -40,11 +40,6 @@ fn format_drive(drive_name: &str) -> rsfdisk::Result<()> {
let root = Partition::builder() let root = Partition::builder()
.partition_type(partition_type) .partition_type(partition_type)
.name("Root") .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()?; .build()?;
let _ = disk.partition_add(root)?; let _ = disk.partition_add(root)?;