|
|
|
@ -26,7 +26,6 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
|
|
|
|
|
String::from("-s"),
|
|
|
|
|
String::from(device),
|
|
|
|
|
String::from("mkpart"),
|
|
|
|
|
String::from("primary"),
|
|
|
|
|
String::from("fat32"),
|
|
|
|
|
String::from("0"),
|
|
|
|
|
String::from("300"),
|
|
|
|
@ -41,7 +40,6 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
|
|
|
|
|
String::from("-s"),
|
|
|
|
|
String::from(device),
|
|
|
|
|
String::from("mkpart"),
|
|
|
|
|
String::from("primary"),
|
|
|
|
|
String::from("btrfs"),
|
|
|
|
|
String::from("300"),
|
|
|
|
|
String::from("100%"),
|
|
|
|
@ -69,6 +67,7 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
|
|
|
|
|
String::from("-s"),
|
|
|
|
|
String::from(device),
|
|
|
|
|
String::from("mkpart"),
|
|
|
|
|
String::from("primary"),
|
|
|
|
|
String::from("ext4"),
|
|
|
|
|
String::from("1MIB"),
|
|
|
|
|
String::from("512MIB"),
|
|
|
|
@ -83,6 +82,7 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
|
|
|
|
|
String::from("-s"),
|
|
|
|
|
String::from(device),
|
|
|
|
|
String::from("mkpart"),
|
|
|
|
|
String::from("primary"),
|
|
|
|
|
String::from("btrfs"),
|
|
|
|
|
String::from("512MIB"),
|
|
|
|
|
String::from("100&"),
|
|
|
|
|