Changeset 2566 in MondoRescue for branches/2.2.9/mindi/mindi
- Timestamp:
- Feb 1, 2010, 5:07:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/mindi
r2564 r2566 1187 1187 fi 1188 1188 1189 # Look for devices which have to be excluded 1190 skip=0 1191 if [ "$MINDI_EXCLUDE_DEVS" ] ; then 1192 for d in $MINDI_EXCLUDE_DEVS ; do 1193 if [ "`echo " $current_partition " | grep " $d"`" != "" ]; then 1194 echo "Excluding $current_partition from mountlist (due to excluded device $d)" >> $LOGFILE 1195 skip=1 1196 continue 1197 fi 1198 done 1199 fi 1200 if [ $skip -eq 1 ]; then 1201 continue 1202 fi 1203 1189 1204 partition_format=`$AWK '$1 == "'"$str_to_find_fmt_with"'" {print $3}' $MY_FSTAB` 1190 1205 # Some distributions such as Debian do not put /dev/<VG>/<LV> in fstab … … 1268 1283 fi 1269 1284 fi 1270 skip=0 1271 if [ "$MINDI_EXCLUDE_DEVS" ] ; then 1272 for d in $MINDI_EXCLUDE_DEVS ; do 1273 if [ "`echo " $current_partition " | grep " $d"`" != "" ]; then 1274 echo "Excluding $current_partition from mountlist (due to excluded device $d)" >> $LOGFILE 1275 skip=1 1276 continue 1277 fi 1278 done 1279 fi 1280 if [ $skip -eq 1 ]; then 1281 continue 1282 fi 1285 1283 1286 if [ ! "$partition_mountpt" ] ; then 1284 1287 echo "------- $FDISK -l $qq log ------------" >> $LOGFILE
Note:
See TracChangeset
for help on using the changeset viewer.