Changeset 463 for trunk


Ignore:
Timestamp:
Apr 4, 2006, 2:10:48 PM (13 years ago)
Author:
andree
Message:

Changed error messages in case loop mount of image files fails to point
to both lacking loopfs and ext2 support as reasons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mindi/mindi

    r461 r463  
    500500    [ "$?" -ne "0" ] && cat /tmp/mke2fs.$$
    501501    rm -f /tmp/mke2fs.$$
    502     mount -t ext2 -o loop $imagefile $mountpoint || Die "Can't loopmount $mountpoint; does your kernel support loopfs? If not, please recompile your kernel. Your Linux distro is broken."
     502    mount -t ext2 -o loop $imagefile $mountpoint || Die "Can't loopmount $imagefile to $mountpoint! The reason may be missing support for loopfs or ext2 (or both) in the running kernel."
    503503    mv $tarball $mountpoint/
    504504    if [ "$?" -ne "0" ] ; then
     
    27452745    echo -en "..."
    27462746    mkdir -p $mountpoint
    2747     mount -t ext2 -o loop $tempfile $mountpoint || Die "Cannot loopmount $tempfile to $mountpoint"
     2747    mount -t ext2 -o loop $tempfile $mountpoint || Die "Cannot loopmount $tempfile to $mountpoint! The reason may be missing support for loopfs or ext2 (or both) in the running kernel."
    27482748    echo -en "..."
    27492749    old_pwd=`pwd`
Note: See TracChangeset for help on using the changeset viewer.