source: MondoRescue/branches/2.2.10/mondo/src/restore-scripts/mondo/mount-me@ 2462

Last change on this file since 2462 was 2462, checked in by Bruno Cornec, 15 years ago

r3548@localhost: bruno | 2009-10-16 19:18:27 +0200

  • mindi now boots in a QEMU VM without busybox
  • mindi is now noarch as a consequence
  • MINDI_LIB becomes MINDI_DATA for coherency and as a consequence
  • CACHEDIR becomes MINDI_CACHE for coherency and it's a build parameter and not hardcoded anymore in mindi
  • THat variable is also used at restore time for mondorestore.cfg e.g.
  • FAILSAFE kernel is gone. Just use another kernel of your choice. Most std kernels work anyway
  • TurnTgzIntoRdz rewritten and now really computes data disk size and not suppose its size
  • Interface mondo/mindi changed again => incompatible
  • Non-bootable media not supported anymore.
  • Mondorescue adapted to these changes but not tested yet
  • Doc updated as well
  • Property svn:keywords set to Id
  • Property svn:unix-mode set to 755
File size: 513 bytes
Line 
1#!/bin/sh
2
3mountlist=$MINDI_CACHE/mountlist.txt
4
5if [ "$#" -ne "0" ] ;then
6 echo "mount-me <no params>"
7 echo "...mountlist is assumed to be at $mountlist"
8 exit 1
9fi
10
11if [ ! -f "$mountlist" ] ; then
12 echo "I cannot find the mountlist '$mountlist'. Aborting."
13 exit 1
14fi
15
16paths=`grep -vE " raid |lvm lvm" $mountlist | tr -s ' ' ' ' | cut -d' ' -f2 | sort`
17> $mountlist.sorted
18for i in $paths ; do
19 grep " $i " $mountlist >> $mountlist.sorted
20done
21mount-subroutine-me < $mountlist.sorted
22exit $?
Note: See TracBrowser for help on using the repository browser.