Changeset 3889 in MondoRescue for branches/3.3/mondo/src
- Timestamp:
- Mar 10, 2024, 8:22:38 PM (16 months ago)
- Location:
- branches/3.3/mondo/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/common/libmondo-archive.c
r3888 r3889 2650 2650 if (bkpinfo->boot_type == UEFI) { 2651 2651 mr_asprintf(boot_type, "UEFI"); 2652 } else if (bkpinfo->boot_type == EFI) {2653 mr_asprintf(boot_type, "EFI");2654 2652 } else if (bkpinfo->boot_type == BIOS) { 2655 2653 mr_asprintf(boot_type, "BIOS"); -
branches/3.3/mondo/src/common/libmondo-devices.c
r3888 r3889 1764 1764 1765 1765 /** 1766 * Return the type of boot of the system (UEFI , EFIor BIOS)1766 * Return the type of boot of the system (UEFI or BIOS) 1767 1767 */ 1768 1768 t_boot mr_boot_type(void) { -
branches/3.3/mondo/src/common/libmondo-tools.c
r3888 r3889 687 687 if (!run_program_and_log_output("mount | grep -Ew 'vfat|fat|dos' | grep -vE \"/dev/fd|nexdisk\"", 0)) { 688 688 if (!run_program_and_log_output("mount | grep -Ew 'vfat|fat|dos' | grep -Ew efi", 0)) { 689 log_to_screen("I think you have a EFI/UEFI partition.");689 log_to_screen("I think you have a UEFI partition."); 690 690 } else { 691 691 log_to_screen("I think you have a Windows 9x partition."); -
branches/3.3/mondo/src/common/mondostructures.h
r3888 r3889 184 184 typedef enum { 185 185 BIOS, /// System uses Legacy Boot mode (aka BIOS) 186 EFI, /// System uses EFI Boot mode187 186 UEFI, /// System uses UEFI Boot mode 188 187 } t_boot; -
branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c
r3885 r3889 1134 1134 if (!strcmp(value, "BIOS")) { 1135 1135 bkpinfo->boot_type = BIOS; 1136 } else if (!strcmp(value, "EFI")) {1137 bkpinfo->boot_type = EFI;1138 1136 } else if (!strcmp(value, "UEFI")) { 1139 1137 bkpinfo->boot_type = UEFI;
Note:
See TracChangeset
for help on using the changeset viewer.