Changeset 3753 in MondoRescue for branches/3.3/mondo/src/common/libmondo-tools.c
- Timestamp:
- Nov 30, 2019, 1:45:07 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/common/libmondo-tools.c
r3665 r3753 44 44 */ 45 45 bool g_remount_cdrom_at_end, ///< TRUE if we unmounted the CD-ROM and should remount it when done with the backup. 46 g_remount_floppy_at_end; ///< TRUE if we unmounted the floppy and should remount it when done with the backup.47 46 bool g_cd_recovery = FALSE; ///< TRUE if we're making an "autonuke" backup. 48 47 double g_kernel_version; … … 1100 1099 run_program_and_log_output("mount " MNT_CDROM, FALSE); 1101 1100 } 1102 if (g_remount_floppy_at_end) {1103 run_program_and_log_output("mount " MNT_FLOPPY, FALSE);1104 }1105 1101 } 1106 1102 … … 1114 1110 g_remount_cdrom_at_end = TRUE; 1115 1111 run_program_and_log_output("umount " MNT_CDROM, FALSE); 1116 }1117 if (run_program_and_log_output1118 ("mount | grep floppy | grep super", FALSE) == 0) {1119 g_remount_floppy_at_end = TRUE;1120 run_program_and_log_output("umount " MNT_FLOPPY, FALSE);1121 1112 } 1122 1113 }
Note:
See TracChangeset
for help on using the changeset viewer.