Changeset 3430 in MondoRescue


Ignore:
Timestamp:
Aug 27, 2015, 10:57:37 AM (9 years ago)
Author:
Bruno Cornec
Message:
  • use the keyword TODO (yellow in vim) to indicate code to review instead of BCO|BERLIOS
Location:
branches/3.2
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3429 r3430  
    17811781    if [ "$CDRECOVERY" = "yes" ] ; then
    17821782        if [ "$type" = "grub" ]; then
    1783             # BCO: Which num ???
     1783            # TODO: Which num ???
    17841784            echo -en "0\n"
    17851785        else
     
    20122012    mkdir -p $bigdir/tmp
    20132013    if [ _"$MONDO_SHARE" != _"" ]; then
    2014         # BCO: no reason to have the cfg file stored twice
     2014        # TODO: no reason to have the cfg file stored twice
    20152015        MakeMondoConfigFile $MINDI_TMP/$MRCFG
    20162016        cp -f $MINDI_TMP/$MRCFG $bigdir/tmp &> /dev/null
     
    21102110        fi
    21112111        # EFI or UEFI
    2112         # BCO names are hard-coded for now
     2112        # TODO: names are hard-coded for now
    21132113        if [ "$BOOT_TYPE" = "UEFI" ]; then
    21142114            # UEFI
  • branches/3.2/mindi/rootfs/etc/init.d/rcS

    r3368 r3430  
    857857ExtractDataDisksAndLoadModules() {
    858858    LogIt "Installing additional tools ..." 1
    859     # BCO: test return value
     859    # TODO: test return value
    860860    install-additional-tools
    861861
  • branches/3.2/mondo/src/common/libmondo-archive.c

    r3423 r3430  
    502502    char *cd_recovery_sz = NULL;
    503503    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 */
    505505    char *value = NULL;
    506506    char *bootdev = NULL;
     
    690690    } else if (bkpinfo->boot_loader == 'E') {
    691691        mr_asprintf(bootldr_str, "ELILO");
    692         /* BCO: fix it for Debian, Mageia, ... */
     692        /* TODO: fix it for Debian, Mageia, ... */
    693693        if (!does_file_exist("/etc/elilo.conf") && does_file_exist("/boot/efi/efi/redhat/elilo.conf")) {
    694694            run_program_and_log_output("ln -sf /boot/efi/efi/redhat/elilo.conf /etc/elilo.conf", 5);
     
    891891    log_msg(2, command);
    892892
    893     // BCO old call :
     893    // TODO old call :
    894894    //res = run_program_and_log_output(command, FALSE);
    895895    log_msg(1, "Call to mindi");
     
    20182018                    log_msg(2, "CHILD - fip - calling feed_into_ntfsprog(%s, %s)", bigfile_fname, sz_devfile);
    20192019                    res = feed_into_ntfsprog(bigfile_fname, sz_devfile);
    2020                     /* BCO/BERLIOS Does the child need to unalocate memory as well ?
     2020                    /* TODO: Does the child need to unalocate memory as well ?
    20212021                    mr_free(bigfile_fname);
    20222022                    mr_free(sz_devfile);
  • branches/3.2/mondo/src/common/libmondo-files.c

    r3350 r3430  
    595595            current_time = get_time();
    596596            counter = 0;
    597             /* BERLIOS: 37 really ? */
     597            /* TODO: 37 really ? */
    598598            curr_fname[37] = '\0';
    599599            curr_pos = ftello(fin) / 1024;
     
    796796                }
    797797            } else {
    798                 /* BERLIOS: more than long here ??? */
     798                /* TODO: more than long here ??? */
    799799                file_len_K = (long) (length_of_file(fname) / 1024);
    800800            }
     
    12141214        return (FALSE);
    12151215    }
    1216     /* BERLIOS: This is just plain WRONG !! */
     1216    /* TODO: This is just plain WRONG !! */
    12171217    mr_asprintf(do_not_compress_these,"%s", last_line_of_file(tmp));
    12181218    mr_free(tmp);
  • branches/3.2/mondo/src/common/libmondo-mountlist.c

    r3374 r3430  
    565565        }
    566566        log_msg(8,"Entry: %d (%s)", i, drivelist->el[i].device);
    567         /* BCO: tmp can be NULL */
     567        /* TODO: tmp can be NULL */
    568568        if (tmp != NULL) {
    569569            log_msg(8,"Adding: %s to flaws_str", tmp);
  • branches/3.2/mondo/src/common/libmondo-stream.c

    r3296 r3430  
    12711271 */
    12721272
    1273 /* BERLIOS: Should be reviewed for mediasize being a off_t ??? */
     1273/* TODO: Should be reviewed for mediasize being a off_t ??? */
    12741274bool
    12751275should_we_write_to_next_tape(long mediasize,
     
    17211721    paranoid_fclose(fin);
    17221722    mr_asprintf(checksum, "%04x%04x", crc16, crctt);
    1723     /* BERLIOS: what does it do ??? */
     1723    /* TODO: what does it do ??? */
    17241724    write_header_block_to_stream((off_t)g_current_media_number, checksum, BLK_STOP_FILE);
    17251725    mr_free(checksum);
  • branches/3.2/mondo/src/mondorestore/mondo-prep.c

    r3398 r3430  
    15891589mr_asprintf(program, "mr-parted2fdisk %s >> %s 2>> %s", drive, MONDO_LOGFILE, MONDO_LOGFILE);
    15901590
    1591 /* BERLIOS: should not be called each time */
     1591/* TODO: should not be called each time */
    15921592part_table_fmt = which_partition_format(drive);
    15931593mr_asprintf(output, "");
  • branches/3.2/mondo/src/mondorestore/mondo-rstr-tools.c

    r3397 r3430  
    834834}
    835835
    836 /* BCO: Read here the boot_* variables */
     836/* TODO: Read here the boot_* variables */
    837837read_cfg_var(cfg_file, "boot-type", value);
    838838if (!strcmp(value, "BIOS")) {
     
    20102010        skip_obdr();
    20112011    } else {
    2012         // BCO: below 32KB seems to block at least on RHAS 2.1 and MDK 10.0
     2012        // TODO: below 32KB seems to block at least on RHAS 2.1 and MDK 10.0
    20132013        set_tape_block_size_with_mt(bkpinfo->internal_tape_block_size);
    20142014    }
  • branches/3.2/mondo/src/mondorestore/mondorestore.c

    r3380 r3430  
    27042704        toggle_node_selection(filelist, FALSE);
    27052705        toggle_all_root_dirs_on(filelist);
    2706         // BERLIOS: /usr/lib ???
     2706        // TODO: /usr/lib ???
    27072707        toggle_path_selection(filelist, "/usr/share", TRUE);
    27082708        save_filelist(filelist, "/tmp/out.txt");
     
    28392839        log_it("Returned from calling load_mountlist and load_raidtab successfully");
    28402840
    2841         // BCO:To be reviewed
     2841        // TODO:To be reviewed
    28422842        if ((bkpinfo->restore_mode == compare) || (bkpinfo->restore_mode == nuke)) {
    28432843            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.