Changeset 2087 in MondoRescue for branches/2.2.8/mondo/src/mondorestore


Ignore:
Timestamp:
Dec 14, 2008, 3:50:37 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Adds ext4 support
Location:
branches/2.2.8/mondo/src/mondorestore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mondo/src/mondorestore/mondo-prep.c

    r2052 r2087  
    20702070               || strcmp(format, "reiserfs") == 0
    20712071               || strcmp(format, "ext3") == 0
     2072               || strcmp(format, "ext4") == 0
    20722073               || strcmp(format, "xfs") == 0
    20732074               || strcmp(format, "jfs") == 0) {
     
    23972398    } else if (strcmp(format, "ext3") == 0) {
    23982399        strcpy(program, "mkfs -t ext3 -F -q");
     2400    } else if (strcmp(format, "ext4") == 0) {
     2401        strcpy(program, "mkfs -t ext4 -F -q");
    23992402    } else if (strcmp(format, "minix") == 0) {
    24002403        strcpy(program, "mkfs.minix");
  • branches/2.2.8/mondo/src/mondorestore/mondo-rstr-tools.c

    r2049 r2087  
    535535            update_progress_form(tmp);
    536536            strcpy(format, mountlist->el[lino].format);
    537             /* BERLIOS: removed as it doen't make sens to not mount ext3 partitions as ext3
    538             if (!strcmp(format, "ext3")) {
    539                 strcpy(format, "ext2");
    540             }
    541             */
    542537            res = mount_device(mountlist->el[lino].device,
    543538                       mountlist->el[lino].mountpoint,
  • branches/2.2.8/mondo/src/mondorestore/mondorestore.c

    r2079 r2087  
    644644    /*  if (restore_some || restore_all || */
    645645    if (ask_me_yes_or_no
    646         ("Label/Identify your ext2 and ext3 partitions if necessary?")) {
     646        ("Label/Identify your ext2/ext3/ext4 partitions if necessary?")) {
    647647        mvaddstr_and_log_it(g_currentY, 0,
    648                             "Using tune2fs to identify your ext2,3 partitions");
     648                            "Using tune2fs to identify your ext2,3,4 partitions");
    649649        if (does_file_exist("/tmp/fstab.new")) {
    650650            strcpy(fstab_fname, "/tmp/fstab.new");
Note: See TracChangeset for help on using the changeset viewer.