Changeset 3430 in MondoRescue for branches/3.2
- Timestamp:
- Aug 27, 2015, 10:57:37 AM (9 years ago)
- Location:
- branches/3.2
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi
r3429 r3430 1781 1781 if [ "$CDRECOVERY" = "yes" ] ; then 1782 1782 if [ "$type" = "grub" ]; then 1783 # BCO: Which num ???1783 # TODO: Which num ??? 1784 1784 echo -en "0\n" 1785 1785 else … … 2012 2012 mkdir -p $bigdir/tmp 2013 2013 if [ _"$MONDO_SHARE" != _"" ]; then 2014 # BCO: no reason to have the cfg file stored twice2014 # TODO: no reason to have the cfg file stored twice 2015 2015 MakeMondoConfigFile $MINDI_TMP/$MRCFG 2016 2016 cp -f $MINDI_TMP/$MRCFG $bigdir/tmp &> /dev/null … … 2110 2110 fi 2111 2111 # EFI or UEFI 2112 # BCOnames are hard-coded for now2112 # TODO: names are hard-coded for now 2113 2113 if [ "$BOOT_TYPE" = "UEFI" ]; then 2114 2114 # UEFI -
branches/3.2/mindi/rootfs/etc/init.d/rcS
r3368 r3430 857 857 ExtractDataDisksAndLoadModules() { 858 858 LogIt "Installing additional tools ..." 1 859 # BCO: test return value859 # TODO: test return value 860 860 install-additional-tools 861 861 -
branches/3.2/mondo/src/common/libmondo-archive.c
r3423 r3430 502 502 char *cd_recovery_sz = NULL; 503 503 char *tape_size_sz = NULL; 504 char *use_lilo_sz = NULL; /* BCO: shared between LILO/ELILO */504 char *use_lilo_sz = NULL; /* TODO: shared between LILO/ELILO */ 505 505 char *value = NULL; 506 506 char *bootdev = NULL; … … 690 690 } else if (bkpinfo->boot_loader == 'E') { 691 691 mr_asprintf(bootldr_str, "ELILO"); 692 /* BCO: fix it for Debian, Mageia, ... */692 /* TODO: fix it for Debian, Mageia, ... */ 693 693 if (!does_file_exist("/etc/elilo.conf") && does_file_exist("/boot/efi/efi/redhat/elilo.conf")) { 694 694 run_program_and_log_output("ln -sf /boot/efi/efi/redhat/elilo.conf /etc/elilo.conf", 5); … … 891 891 log_msg(2, command); 892 892 893 // BCO old call :893 // TODO old call : 894 894 //res = run_program_and_log_output(command, FALSE); 895 895 log_msg(1, "Call to mindi"); … … 2018 2018 log_msg(2, "CHILD - fip - calling feed_into_ntfsprog(%s, %s)", bigfile_fname, sz_devfile); 2019 2019 res = feed_into_ntfsprog(bigfile_fname, sz_devfile); 2020 /* BCO/BERLIOSDoes the child need to unalocate memory as well ?2020 /* TODO: Does the child need to unalocate memory as well ? 2021 2021 mr_free(bigfile_fname); 2022 2022 mr_free(sz_devfile); -
branches/3.2/mondo/src/common/libmondo-files.c
r3350 r3430 595 595 current_time = get_time(); 596 596 counter = 0; 597 /* BERLIOS: 37 really ? */597 /* TODO: 37 really ? */ 598 598 curr_fname[37] = '\0'; 599 599 curr_pos = ftello(fin) / 1024; … … 796 796 } 797 797 } else { 798 /* BERLIOS: more than long here ??? */798 /* TODO: more than long here ??? */ 799 799 file_len_K = (long) (length_of_file(fname) / 1024); 800 800 } … … 1214 1214 return (FALSE); 1215 1215 } 1216 /* BERLIOS: This is just plain WRONG !! */1216 /* TODO: This is just plain WRONG !! */ 1217 1217 mr_asprintf(do_not_compress_these,"%s", last_line_of_file(tmp)); 1218 1218 mr_free(tmp); -
branches/3.2/mondo/src/common/libmondo-mountlist.c
r3374 r3430 565 565 } 566 566 log_msg(8,"Entry: %d (%s)", i, drivelist->el[i].device); 567 /* BCO: tmp can be NULL */567 /* TODO: tmp can be NULL */ 568 568 if (tmp != NULL) { 569 569 log_msg(8,"Adding: %s to flaws_str", tmp); -
branches/3.2/mondo/src/common/libmondo-stream.c
r3296 r3430 1271 1271 */ 1272 1272 1273 /* BERLIOS: Should be reviewed for mediasize being a off_t ??? */1273 /* TODO: Should be reviewed for mediasize being a off_t ??? */ 1274 1274 bool 1275 1275 should_we_write_to_next_tape(long mediasize, … … 1721 1721 paranoid_fclose(fin); 1722 1722 mr_asprintf(checksum, "%04x%04x", crc16, crctt); 1723 /* BERLIOS: what does it do ??? */1723 /* TODO: what does it do ??? */ 1724 1724 write_header_block_to_stream((off_t)g_current_media_number, checksum, BLK_STOP_FILE); 1725 1725 mr_free(checksum); -
branches/3.2/mondo/src/mondorestore/mondo-prep.c
r3398 r3430 1589 1589 mr_asprintf(program, "mr-parted2fdisk %s >> %s 2>> %s", drive, MONDO_LOGFILE, MONDO_LOGFILE); 1590 1590 1591 /* BERLIOS: should not be called each time */1591 /* TODO: should not be called each time */ 1592 1592 part_table_fmt = which_partition_format(drive); 1593 1593 mr_asprintf(output, ""); -
branches/3.2/mondo/src/mondorestore/mondo-rstr-tools.c
r3397 r3430 834 834 } 835 835 836 /* BCO: Read here the boot_* variables */836 /* TODO: Read here the boot_* variables */ 837 837 read_cfg_var(cfg_file, "boot-type", value); 838 838 if (!strcmp(value, "BIOS")) { … … 2010 2010 skip_obdr(); 2011 2011 } else { 2012 // BCO: below 32KB seems to block at least on RHAS 2.1 and MDK 10.02012 // TODO: below 32KB seems to block at least on RHAS 2.1 and MDK 10.0 2013 2013 set_tape_block_size_with_mt(bkpinfo->internal_tape_block_size); 2014 2014 } -
branches/3.2/mondo/src/mondorestore/mondorestore.c
r3380 r3430 2704 2704 toggle_node_selection(filelist, FALSE); 2705 2705 toggle_all_root_dirs_on(filelist); 2706 // BERLIOS: /usr/lib ???2706 // TODO: /usr/lib ??? 2707 2707 toggle_path_selection(filelist, "/usr/share", TRUE); 2708 2708 save_filelist(filelist, "/tmp/out.txt"); … … 2839 2839 log_it("Returned from calling load_mountlist and load_raidtab successfully"); 2840 2840 2841 // BCO:To be reviewed2841 // TODO:To be reviewed 2842 2842 if ((bkpinfo->restore_mode == compare) || (bkpinfo->restore_mode == nuke)) { 2843 2843 if ((bkpinfo->backup_media_type == netfs) && bkpinfo->netfs_mount && !is_this_device_mounted(bkpinfo->netfs_mount)) {
Note:
See TracChangeset
for help on using the changeset viewer.