- Timestamp:
- Jul 21, 2006, 3:49:26 AM (19 years ago)
- Location:
- branches/stable/mondo/mondo
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/mondorestore/mondo-rstr-tools.c
r681 r691 469 469 strcat(mount_isodir_command, " -o ro "); 470 470 strcat(mount_isodir_command, bkpinfo->isodir); 471 run_program_and_log_output("df - P -m", FALSE);471 run_program_and_log_output("df -m", FALSE); 472 472 sprintf(tmp, 473 473 "The 'mount' command is '%s'. PLEASE report this command to be if you have problems, ok?", … … 653 653 } 654 654 close_progress_form(); 655 run_program_and_log_output("df - P -m", TRUE);655 run_program_and_log_output("df -m", TRUE); 656 656 if (retval) { 657 657 if (g_partition_table_locked_up > 0) { … … 679 679 mvaddstr_and_log_it(g_currentY++, 74, "Done."); 680 680 } 681 run_program_and_log_output("df - P -m", 3);681 run_program_and_log_output("df -m", 3); 682 682 paranoid_free(mountlist); 683 683 paranoid_free(tmp); … … 948 948 FALSE); 949 949 run_program_and_log_output("cd " MNT_RESTORING 950 "; for i in `ls home/`; do echo \"Moving $i's spurious files to $i/.disabled\"; mkdir $i/.disabled ; mv -f $i/.DCOP* $i/.MCOP* $i/.*authority $i/.kde/tmp* $i/.kde/socket* $i/.disabled/ ; done",950 "; for i in `ls home/`; do echo \"Moving $i's spurious files to $i/.disabled\"; mkdir \"$i\"/.disabled ; mv -f \"$i\"/.DCOP* \"$i\"/.MCOP* \"$i\"/.*authority \"$i\"/.kde/tmp* \"$i\"/.kde/socket* \"$i\"/.disabled/ ; done", 951 951 TRUE); 952 952 run_program_and_log_output("rm -f " MNT_RESTORING "/var/run/*.pid", … … 2168 2168 sort_mountlist_by_mountpoint(mountlist, 0); 2169 2169 2170 run_program_and_log_output("df - P -m", 3);2170 run_program_and_log_output("df -m", 3); 2171 2171 mvaddstr_and_log_it(g_currentY, 0, "Unmounting devices "); 2172 2172 open_progress_form("Unmounting devices", -
branches/stable/mondo/mondo/restore-scripts/mondo/grub-install.patched
r567 r691 257 257 # For now, this uses the program `df' to get the device name, but is 258 258 # this really portable? 259 tmp_fname=`df -P$1/ | sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'`259 tmp_fname=`df $1/ | sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'` 260 260 261 261 if test -z "$tmp_fname"; then -
branches/stable/mondo/mondo/restore-scripts/mondo/label-partitions-as-necessary
r567 r691 59 59 while [ "$line" != "" ] && [ "$noof_blank_lines" -le "5" ] ; do 60 60 if [ "$line" = "" ] ; then 61 noof_blank_lines=$(($noof_blank_lines+1))61 noof_blank_lines=$(($noof_blank_lines+1)) 62 62 else 63 noof_blank_lines=064 read_partition_line "$line"63 noof_blank_lines=0 64 read_partition_line "$line" 65 65 fi 66 66 read line
Note:
See TracChangeset
for help on using the changeset viewer.