Changeset 960


Ignore:
Timestamp:
Nov 23, 2006, 11:19:43 AM (12 years ago)
Author:
bruno
Message:

Removal of FDISKLOG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi

    r959 r960  
    14041404            partition_mountpt="image"
    14051405            old_partition_fmt=$partition_format
    1406 #           partition_format="`$FDISK -l 2>> $LOGFILE | tr -s '\t' ' ' | grep -w "$absolute_partition" | $AWK 'x=$(NF-1}'`"
     1406            echo "------- $FDISK -l log ------------" >> $LOGFILE
    14071407            partition_format="`$FDISK -l 2>> $LOGFILE | tr '*' ' ' | tr '+' ' ' | tr -s ' ' '\t' | grep -w "$absolute_partition" | cut -f5`"
    1408             echo "------- $FDISK -l log ------------" >> $LOGFILE
    1409             cat $FDISKLOG >> $LOGFILE
    14101408            echo "------- $FDISK log end ------------" >> $LOGFILE
    14111409            partition_size=$(($partition_size+1)); # just in case
     
    14221420        if [ ! "$partition_mountpt" ] ; then
    14231421            for qq in "" `find /dev/ida/c*d* ! -name '*p*'` ; do
     1422                echo "------- $FDISK -l $qq log ------------" >> $LOGFILE
    14241423                partition_format=`$FDISK -l $qq 2>> $LOGFILE | grep -w "$c_p" | sed 's/12/|/' | tr -s '\t' ' ' | cut -d'|' -f2 | cut -d' ' -f2-9`
    1425                 echo "------- $FDISK -l $qq log ------------" >> $LOGFILE
    1426                 cat $FDISKLOG >> $LOGFILE
    14271424                echo "------- $FDISK log end ------------" >> $LOGFILE
    14281425                [ "$partition_format" ] && break
     
    22772274    fi
    22782275    # patch from Bill <bill@iwizard.biz> - 2003/08/25
    2279     res=`$FDISK -s $device`
    22802276    echo "------- $FDISK -l $device log ------------" >> $LOGFILE
    2281     cat $FDISKLOG >> $LOGFILE
     2277    res=`$FDISK -s $device 2>> $LOGFILE`
    22822278    echo "------- $FDISK log end ------------" >> $LOGFILE
    22832279    # end patch
     
    28992895fi
    29002896
    2901 FDISKLOG=$MINDI_TMP/parted2fdisk.log
    2902 
    29032897[ -e "$iso_cfg_file" ] || Die "Cannot find $iso_cfg_file"
    29042898if [ ! "`DidMondoCallMe`" ] ; then
Note: See TracChangeset for help on using the changeset viewer.