Changeset 2475 in MondoRescue for branches/2.2.10/mindi/mindi


Ignore:
Timestamp:
Nov 10, 2009, 2:52:43 PM (14 years ago)
Author:
Bruno Cornec
Message:
  • Update deplist for Debian support
  • Fix #363 where exclude_paths was extended up to memory limit dumping core
  • Default to DVD size when in iso or netfs mode
  • Improve analysis of kernel modules by printing whether it's a live or extra module which has not been found (Matthew Cline) as reported in #362
  • Remove useless pb_log and MONDO_TRACEFILE
  • /dev/shm is now part of the default exclude list
  • some distro hold lvm commands under /usr/sbin
  • bzip2 is under /bin on Debian

(merge from 2.2.9 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/mindi

    r2462 r2475  
    736736###
    737737    noof_lines=0
    738     for module in $module_list $EXTRA_MODS ; do
     738    # Get rid of duplicates, so that if a live kernel module also appears
     739    # in $EXTRA_MODS that it won't get reported as "live module file not found" twice.
     740    for module in `echo $module_list $EXTRA_MODS | tr ' ' '\n' | sort -u` ; do
    739741        noof_lines=$(($noof_lines+1))
    740742    done
    741743    progress=0
    742     for module in $module_list $EXTRA_MODS ; do
     744    for module in `echo $module_list $EXTRA_MODS | tr ' ' '\n' | sort -u` ; do
    743745        r=`find /lib/modules/$kern -type f | grep "/${module}\..*o" | tail -n1`
     746        if [ -z "$r" ]; then
     747            if [ "`echo "$MODULES" | grep -w $module`" ]; then
     748                r="[live module file not found]"
     749            else
     750                r="[extra module file not found]"
     751            fi
     752        fi
    744753        LogFile "module $module --> $r"
    745754        [ "$r" ] && echo "$r" >> $outfile
Note: See TracChangeset for help on using the changeset viewer.