Changeset 3600 in MondoRescue


Ignore:
Timestamp:
Jul 25, 2016, 4:06:23 PM (8 years ago)
Author:
Bruno Cornec
Message:

Use option -T for df for more details in logs where appropriate

File:
1 edited

Legend:

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

    r3564 r3600  
    345345
    346346    mr_strcat(mount_isodir_command, " -o ro %s", bkpinfo->isodir);
    347     run_program_and_log_output("df -m -P", FALSE);
     347    run_program_and_log_output("df -m -P -T", FALSE);
    348348    log_msg(1, "The 'mount' command is '%s'. PLEASE report this command to be if you have problems, ok?", mount_isodir_command);
    349349    if (run_program_and_log_output(mount_isodir_command, FALSE)) {
    350         popup_and_OK
    351             ("Cannot mount the device where the ISO files are stored.");
     350        popup_and_OK("Cannot mount the device where the ISO files are stored.");
    352351        return (1);
    353352    }
    354353    paranoid_free(mount_isodir_command);
    355     log_to_screen
    356     ("I have mounted the device where the ISO files are stored.");
     354    log_to_screen("I have mounted the device where the ISO files are stored.");
    357355}
    358356if (!IS_THIS_A_STREAMING_BACKUP(bkpinfo->backup_media_type)) {
     
    575573    (void)mount_device("/proc","/proc","proc",TRUE);
    576574    (void)mount_device("/sys","/sys","sysfs",TRUE);
    577     run_program_and_log_output("df -m -P", 3);
     575    run_program_and_log_output("df -m -P -T", 3);
    578576    paranoid_free(mountlist);
    579577    return (retval);
     
    19081906    sort_mountlist_by_mountpoint(mountlist, 0);
    19091907
    1910     run_program_and_log_output("df -m -P", 3);
     1908    run_program_and_log_output("df -m -P -T", 3);
    19111909    mvaddstr_and_log_it(g_currentY, 0, "Unmounting devices      ");
    19121910    open_progress_form("Unmounting devices", "Unmounting all devices that were mounted,", "in preparation for the post-restoration reboot.", "", mountlist->entries);
Note: See TracChangeset for help on using the changeset viewer.