Changeset 2545 in MondoRescue for branches/2.2.9/mondo/src


Ignore:
Timestamp:
Jan 12, 2010, 3:32:02 AM (14 years ago)
Author:
Bruno Cornec
Message:

Adds the --rescue flag to ntfsclone (Andree Leidenfrost andree_at_debian.org)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-fork.c

    r2380 r2545  
    609609    }
    610610    malloc_string(command);
    611     sprintf(command, "ntfsclone --force --save-image --overwrite %s %s", output_fname, input_device);
     611    sprintf(command, "ntfsclone --rescue --force --save-image --overwrite %s %s", output_fname, input_device);
    612612    res = run_program_and_log_output(command, 5);
    613613    paranoid_free(command);
     
    726726    }
    727727    malloc_string(command);
    728     sprintf(command, "ntfsclone --force --restore-image --overwrite %s %s", output_device, input_fifo);
     728    sprintf(command, "ntfsclone --rescue --force --restore-image --overwrite %s %s", output_device, input_fifo);
    729729    res = run_program_and_log_output(command, 5);
    730730    paranoid_free(command);
Note: See TracChangeset for help on using the changeset viewer.