Changeset 3706 in MondoRescue


Ignore:
Timestamp:
Apr 13, 2018, 1:27:58 AM (6 years ago)
Author:
Bruno Cornec
Message:

Adds bind mounting of virtual FS to ease debug when used manually

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/restore-scripts/mondo/mr-mount-me

    r3542 r3706  
    1717fi
    1818
    19 paths=`grep -vE " raid |lvm lvm" $mountlist | tr -s ' ' ' ' | cut -d' ' -f2 | sort`
     19paths=`grep -vE " raid |lvm lvm" $mountlist | awk '{print $2}' | sort`
    2020> $mountlist.sorted
    2121for i in $paths ; do
     
    2323done
    2424mr-mount-subroutine-me < $mountlist.sorted
    25 exit $?
     25res=$?
     26mount -o bind /proc /mnt/RESTORING/proc
     27mount -o bind /sys /mnt/RESTORING/sys
     28exit $res
Note: See TracChangeset for help on using the changeset viewer.