Changeset 1883 in MondoRescue
- Timestamp:
- Feb 6, 2008, 10:13:31 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/mindi
r1882 r1883 1057 1057 file="$1" 1058 1058 1059 echo "$file" 1059 1060 if [ ! -h $file ]; then 1060 echo "$file"1061 1061 return 0 1062 1062 fi 1063 1063 1064 link=`readlink -f$file`1064 link=`readlink $file` 1065 1065 d=`dirname $file` 1066 if [ ! -e "$link" -a ! -e "$d/$link" ]; then 1067 echo "Problem with dead link on $file -> $link" >> $LOGFILE 1068 fi 1066 fchar=`echo $link | cut -c1` 1067 # If mother dir is a link print it 1069 1068 if [ -h "$d" ]; then 1070 echo "$link"1071 1069 echo "$d" 1072 else 1073 echo "$link" 1070 d=`readlink $d` 1071 fi 1072 if [ "$fchar" != "/" ]; then 1073 # Relative or local link 1074 ReadAllLink "$d/$link" 1075 else 1076 # Absolute path 1077 ReadAllLink $link 1074 1078 fi 1075 1079 } … … 1523 1527 if [ ! "$partition_mountpt" ] ; then 1524 1528 echo "------- $FDISK -l $qq log ------------" >> $LOGFILE 1525 for qq in "" `find /dev/ida/c*d* ! -name '*p*' ` 2> /dev/null; do1529 for qq in "" `find /dev/ida/c*d* ! -name '*p*' 2> /dev/null`; do 1526 1530 partition_format=`$FDISK -l $qq 2>> $LOGFILE | grep -w "$c_p" | sed 's/12/|/' | tr -s '\t' ' ' | cut -d'|' -f2 | cut -d' ' -f2-9` 1527 1531 [ "$partition_format" ] && break … … 2833 2837 file $MINDI_LIB/rootfs/bin/busybox 2>&1 | grep -q "dynamically" 2834 2838 if [ $? -eq 0 ]; then 2835 LocateDeps $MINDI_LIB/rootfs/bin/busybox > $MINDI_TMP/busy.lis2839 LocateDeps $MINDI_LIB/rootfs/bin/busybox /bin/mount > $MINDI_TMP/busy.lis 2836 2840 cp --parents -Rdf `sort -u $MINDI_TMP/busy.lis` . 2837 2841 rm -f $MINDI_TMP/busy.lis
Note:
See TracChangeset
for help on using the changeset viewer.