Ignore:
Timestamp:
Jan 12, 2006, 5:37:42 PM (18 years ago)
Author:
bcornec
Message:

use df -P everywhere to avoid split lines on df output and some bugs

File:
1 edited

Legend:

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

    r273 r305  
    469469        strcat(mount_isodir_command, " -o ro ");
    470470        strcat(mount_isodir_command, bkpinfo->isodir);
    471         run_program_and_log_output("df -m", FALSE);
     471        run_program_and_log_output("df -P -m", FALSE);
    472472        sprintf(tmp,
    473473                "The 'mount' command is '%s'. PLEASE report this command to be if you have problems, ok?",
     
    653653    }
    654654    close_progress_form();
    655     run_program_and_log_output("df -m", TRUE);
     655    run_program_and_log_output("df -P -m", TRUE);
    656656    if (retval) {
    657657        if (g_partition_table_locked_up > 0) {
     
    679679        mvaddstr_and_log_it(g_currentY++, 74, "Done.");
    680680    }
    681     run_program_and_log_output("df -m", 3);
     681    run_program_and_log_output("df -P -m", 3);
    682682    paranoid_free(mountlist);
    683683    paranoid_free(tmp);
     
    22392239    sort_mountlist_by_mountpoint(mountlist, 0);
    22402240
    2241     run_program_and_log_output("df -m", 3);
     2241    run_program_and_log_output("df -P -m", 3);
    22422242    mvaddstr_and_log_it(g_currentY, 0, "Unmounting devices      ");
    22432243    open_progress_form("Unmounting devices",
Note: See TracChangeset for help on using the changeset viewer.