Changeset 3542 in MondoRescue for branches/3.2/mondo/src/restore-scripts/mondo/mr-unmount-me
- Timestamp:
- Mar 24, 2016, 5:48:03 PM (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/restore-scripts/mondo/mr-unmount-me
r3541 r3542 1 1 #!/bin/sh 2 # 3 # $Id$ 4 # 2 5 3 6 mountlist=/tmp/mountlist.txt 4 7 5 8 if [ "$#" -ne "0" ] ;then 6 echo " unmount-me <no params>"9 echo "mr-unmount-me <no params>" 7 10 echo "...mountlist is assumed to be at $mountlist" 8 11 exit 1 9 12 fi 10 13 11 #unmount-subroutine-me < $mountlist12 #unmount-subroutine-me < $mountlist13 14 #for j in 1 2 ; do15 14 for i in `mount | grep /mnt/RESTORING | cut -d' ' -f3 | sort -r`; do 16 15 umount $i
Note:
See TracChangeset
for help on using the changeset viewer.