Changeset 2462 in MondoRescue for branches/2.2.10/mondo/src/restore-scripts/mondo
- Timestamp:
- Oct 20, 2009, 4:07:00 PM (15 years ago)
- Location:
- branches/2.2.10/mondo/src/restore-scripts/mondo
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/restore-scripts/mondo/format-and-kludge-vfat
r2186 r2462 115 115 umount /mnt/tmpK || Die "Can't unmount /mnt/tmpK" 116 116 117 ideal_size=`grep "$device " /tmp/mountlist.txt | tr -s ' ' ' ' | cut -d' ' -f4`117 ideal_size=`grep "$device " $MINI_CACHE/mountlist.txt | tr -s ' ' ' ' | cut -d' ' -f4` 118 118 if [ "$ideal_size" = "" ]; then 119 119 LogIt "format-and-kludge-vfat --- can't find $device in mountlist" 1 -
branches/2.2.10/mondo/src/restore-scripts/mondo/grub-MR
r2451 r2462 93 93 94 94 if [ "$#" -ne "2" ] ; then 95 Die "grub-MR <MBR drive> <mountlist filename>; e.g. grub-MR /dev/hda /tmp/mountlist.txt"95 Die "grub-MR <MBR drive> <mountlist filename>; e.g. grub-MR /dev/hda $MINDI_CACHE/mountlist.txt" 96 96 fi 97 97 [ ! -f "$2" ] && Die "mountlist file not found" -
branches/2.2.10/mondo/src/restore-scripts/mondo/label-partitions-as-necessary
r2172 r2462 55 55 LogIt "Identifying your drives with tune2fs" 56 56 if [ "$#" -ne "1" ] ; then 57 LogIt "label-partitions-as-necessary /tmp/mountlist.txt < /tmp/fstab.new" 157 LogIt "label-partitions-as-necessary $MINDI_CACHE/mountlist.txt < /tmp/fstab.new" 1 58 58 exit 1 59 59 fi -
branches/2.2.10/mondo/src/restore-scripts/mondo/mount-me
r680 r2462 1 1 #!/bin/sh 2 2 3 mountlist= /tmp/mountlist.txt3 mountlist=$MINDI_CACHE/mountlist.txt 4 4 5 5 if [ "$#" -ne "0" ] ;then -
branches/2.2.10/mondo/src/restore-scripts/mondo/stabelilo-me
r1567 r2462 122 122 123 123 WhatIsFirstDriveCalled() { 124 cut -d' ' -f1 /tmp/mountlist.txt \124 cut -d' ' -f1 $MINDI_CACHE/mountlist.txt \ 125 125 | sed s/[0-9]// | sed s/[0-9]// \ 126 126 | sort -u | head -n 1 … … 133 133 LocateOldFstab 134 134 LocateOldElilo 135 old_mountlist= /tmp/mountlist.original136 new_mountlist= /tmp/mountlist.txt135 old_mountlist=$MINDI_CACHE/mountlist.original 136 new_mountlist=$MINDI_CACHE/mountlist.txt 137 137 QuitIfNotFound $old_mountlist 138 138 QuitIfNotFound $new_mountlist -
branches/2.2.10/mondo/src/restore-scripts/mondo/stabgrub-me
r2451 r2462 116 116 LocateOldFstab 117 117 LocateOldGrub 118 old_mountlist= /tmp/mountlist.original119 new_mountlist= /tmp/mountlist.txt118 old_mountlist=$MINDI_CACHE/mountlist.original 119 new_mountlist=$MINDI_CACHE/mountlist.txt 120 120 QuitIfNotFound $old_mountlist 121 121 QuitIfNotFound $new_mountlist -
branches/2.2.10/mondo/src/restore-scripts/mondo/stablilo-me
r567 r2462 91 91 92 92 WhatIsFirstDriveCalled() { 93 cut -d' ' -f1 /tmp/mountlist.txt \93 cut -d' ' -f1 $MINDI_CACHE/mountlist.txt \ 94 94 | sed s/[0-9]// | sed s/[0-9]// \ 95 95 | sort -u | head -n 1 … … 101 101 LogIt "stablilo-me --- starting" 102 102 LocateOldFstab 103 old_mountlist= /tmp/mountlist.original104 new_mountlist= /tmp/mountlist.txt103 old_mountlist=$MINDI_CACHE/mountlist.original 104 new_mountlist=$MINDI_CACHE/mountlist.txt 105 105 QuitIfNotFound $old_mountlist 106 106 QuitIfNotFound $new_mountlist -
branches/2.2.10/mondo/src/restore-scripts/mondo/stabraw-me
r1315 r2462 82 82 LogIt "stabraw-me --- starting" 83 83 LocateOldFstab 84 old_mountlist= /tmp/mountlist.original85 new_mountlist= /tmp/mountlist.txt84 old_mountlist=$MINDI_CACHE/mountlist.original 85 new_mountlist=$MINDI_CACHE/mountlist.txt 86 86 QuitIfNotFound $old_mountlist 87 87 QuitIfNotFound $new_mountlist -
branches/2.2.10/mondo/src/restore-scripts/mondo/unmount-me
r567 r2462 1 1 #!/bin/sh 2 2 3 mountlist= /tmp/mountlist.txt3 mountlist=$MINDI_CACHE/mountlist.txt 4 4 5 5 if [ "$#" -ne "0" ] ;then
Note:
See TracChangeset
for help on using the changeset viewer.