Ignore:
Timestamp:
Apr 18, 2008, 1:41:41 AM (16 years ago)
Author:
Bruno Cornec
Message:

svn merge -r 1902:1923 $SVN_M/branches/2.2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c

    r1903 r1924  
    11181118                    BIGGIELIST_TXT_STUB,
    11191119                    FILELIST_FULL_STUB,
    1120                     "tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB);
     1120                    "./tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB);
    11211121            mr_msg(1, "tarcommand = %s", command);
    11221122            run_program_and_log_output(command, 1);
     
    11351135                    BIGGIELIST_TXT_STUB,
    11361136                    FILELIST_FULL_STUB,
    1137                     "tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB);
     1137                    "./tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB);
    11381138            mr_msg(1, "tarcommand = %s", command);
    11391139            run_program_and_log_output(command, 1);
     
    11421142            if (!does_file_exist(BIGGIELIST_TXT_STUB)) {
    11431143                fatal_error
    1144                     ("all.tar.gz did not include tmp/biggielist.txt");
     1144                    ("all.tar.gz did not include ./tmp/biggielist.txt");
    11451145            }
    11461146            if (!does_file_exist(FILELIST_FULL_STUB)) {
    11471147                fatal_error
    1148                     ("all.tar.gz did not include tmp/filelist.full.gz");
     1148                    ("all.tar.gz did not include ./tmp/filelist.full.gz");
    11491149            }
    11501150        }
     
    20832083            1024L * 1024 * 32 / bkpinfo->internal_tape_block_size,
    20842084            MOUNTLIST_FNAME_STUB, MONDO_CFG_FILE_STUB,
    2085             BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "tmp/i-want-my-lvm");
     2085            BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "./tmp/i-want-my-lvm");
    20862086    mr_msg(2, "command = '%s'", command);
    20872087    res = run_program_and_log_output(command, -1);
     
    21132113    char *ramdisk_fname = NULL;
    21142114    char *mountlist_file = NULL;
    2115     int res = 0;
    21162115
    21172116    bool try_plan_B = FALSE;
     
    22052204                mr_msg(2,
    22062205                        "gcffa --- Plan B, a.k.a. untarring some file from all.tar.gz");
    2207                 mr_asprintf(&command, "tar -zxvf " MNT_CDROM "/images/all.tar.gz %s %s %s %s %s", MOUNTLIST_FNAME_STUB, MONDO_CFG_FILE_STUB, BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "tmp/i-want-my-lvm"); // add -b TAPE_BLOCK_SIZE if you _really_ think it's necessary
     2206                mr_asprintf(&command, "tar -zxvf " MNT_CDROM "/images/all.tar.gz %s %s %s %s %s", MOUNTLIST_FNAME_STUB, MONDO_CFG_FILE_STUB, BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "./tmp/i-want-my-lvm");   // add -b TAPE_BLOCK_SIZE if you _really_ think it's necessary
    22082207                run_program_and_log_output(command, TRUE);
    22092208                mr_free(command);
Note: See TracChangeset for help on using the changeset viewer.