Changeset 1500 in MondoRescue for branches/stable/mondo
- Timestamp:
- Jun 9, 2007, 2:05:52 AM (17 years ago)
- Location:
- branches/stable/mondo
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/ChangeLog
r1447 r1500 3 3 MONDO CHANGES 4 4 5 2.2.4 (2007-05-17) 5 2.2.4 (2007-06-09) 6 - Improved Ubuntu support (Fix #159) (Bruno Cornec) 7 - Improved VMWare ESX supoprt (Amaury Tanquerel/Bruno Cornec) 8 - Fix a bug (hang #136) when no floppy available (Bruno Cornec) 9 - Adds OCFS support in -N (Bruno Cornec) 10 - Reduce log file verbosity in sort phase (Bruno Cornec) 11 - Fix a spelling error (James Cameron/Bruno Cornec) 12 - mondo rpm pkg depends on buffer and cdrecord (Vincen Danen/Bruno Cornec) 13 - Adds -p option support to mondorestore (Fix #114) (Bruno Cornec) 14 - Adds support for Boot loader in partitions (Fix #117) (Bruno Cornec) 6 15 - Fix a bug where Unallocated space was considered as an error (Bruno Cornec) 7 16 - MINDI_CACHE set to /var/cache/mindi new location of mindi images instead of /root/images/mindi (Andree Leidenfrost) -
branches/stable/mondo/src/mondorestore/mondo-prep.c
r1371 r1500 1924 1924 } else if (strcmp(format, "minix") == 0) { 1925 1925 mr_asprintf(&partcode, "81"); 1926 } else if (strcmp(format, "vmfs") == 0) { 1927 strcpy(partcode, "fb"); 1926 1928 } else if (strcmp(format, "raid") == 0) { 1927 1929 mr_asprintf(&partcode, "fd"); … … 2250 2252 } else if (strcmp(format, "minix") == 0) { 2251 2253 strcpy(program, "mkfs.minix"); 2254 } else if (strcmp(format, "vmfs") == 0) { 2255 strcpy(program, "mkfs -t vmfs"); 2252 2256 #endif 2253 2257 } else if (strcmp(format, "ext2") == 0) { -
branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
r1419 r1500 1434 1434 newtSuspend(); 1435 1435 } 1436 mr_asprintf(&tmp, " %s " MNT_RESTORING "/etc/fstab", editor);1436 mr_asprintf(&tmp, "chroot %s %s /etc/fstab", MNT_RESTORING, editor); 1437 1437 paranoid_system(tmp); 1438 1438 mr_free(tmp); 1439 1439 1440 mr_asprintf(&tmp, " %s " MNT_RESTORING "/etc/grub.conf", editor);1440 mr_asprintf(&tmp, "chroot %s %s /etc/grub.conf", MNT_RESTORING, editor); 1441 1441 paranoid_system(tmp); 1442 1442 mr_free(tmp); … … 2123 2123 mr_free(tmp); 2124 2124 2125 mr_asprintf(&command, "mount /dev/fd0u1722 %s", mountpt); 2126 mr_asprintf(&tmp, 2125 mr_asprintf(&tmp, "%s", call_program_and_get_last_line_of_output("dmesg | grep -i floppy")); 2126 if (strcmp(tmp, "")) { 2127 mr_asprintf(&command, "mount /dev/fd0u1722 %s", mountpt); 2128 mr_asprintf(&tmp, 2127 2129 "(sleep 15; kill `ps | grep \"%s\" | cut -d' ' -f1` 2> /dev/null) &", 2128 2130 command); 2129 mr_msg(1, "tmp = '%s'", tmp); 2130 system(tmp); 2131 mr_free(tmp); 2132 2133 res = run_program_and_log_output(command, FALSE); 2134 mr_free(command); 2135 2136 if (res) { 2137 mr_asprintf(&command, "mount /dev/fd0H1440 %s", mountpt); 2131 mr_msg(1, "tmp = '%s'", tmp); 2132 system(tmp); 2133 mr_free(tmp); 2134 2138 2135 res = run_program_and_log_output(command, FALSE); 2139 2136 mr_free(command); 2137 2138 if (res) { 2139 mr_asprintf(&command, "mount /dev/fd0H1440 %s", mountpt); 2140 res = run_program_and_log_output(command, FALSE); 2141 mr_free(command); 2142 } 2143 } else { 2144 res = 1; 2140 2145 } 2141 2146 if (res) {
Note:
See TracChangeset
for help on using the changeset viewer.