Ignore:
Timestamp:
Feb 21, 2007, 2:40:49 AM (12 years ago)
Author:
bruno
Message:

ChangeLog? for mindi UTF-8
mr_strcat much more powerful as taking a vararg (+ tests).
improved text output to log file for mondo
merge from trunk memory management for mondorestore (begining)

File:
1 edited

Legend:

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

    r1168 r1196  
    24272427                sprintf(command, "cp -f tmp/i-want-my-lvm /tmp/");
    24282428                run_program_and_log_output(command, 1);
    2429 /*        sprintf(command, "grep \" lvm \" %s", g_mountlist_fname);
    2430           if (!run_program_and_log_output(command, 5) && !does_file_exist("/tmp/i-want-my-lvm"))
    2431             {
    2432           mr_msg(1, "Warning. You want LVM but I don't have i-want-my-lvm. FIXME.");
    2433         }
    2434               else if (run_program_and_log_output(command,5) && does_file_exist("/tmp/i-want-my-lvm"))
    2435                 {
    2436           mr_msg(1, "Warning. You don't want LVM but i-want-my-lvm exists. I'll delete it. Cool.");
    2437               do_my_funky_lvm_stuff(TRUE, FALSE); // ...after I stop any LVMs :)
    2438           stop_raid_device("/dev/md0");
    2439           stop_raid_device("/dev/md1");
    2440           stop_raid_device("/dev/md2");
    2441           unlink("/tmp/i-want-my-lvm");
    2442         }
    2443           else if (!run_program_and_log_output(command,5) && does_file_exist("/tmp/i-want-my-lvm"))
    2444             {
    2445           mr_msg(1, "You had better pray that i-want-my-lvm patches your mountlist. FIXME.");
    2446         }
    2447 */
    24482429            }
    24492430        }
Note: See TracChangeset for help on using the changeset viewer.