|
- renice -n -20 `ps aux | grep qemu | grep windows | cut -c 5-14`
复制代码
挂载:
脱挂:
- #!/bin/sh
- . /usr/lib/botang-func
- sub_confirm "Please input the mount point full path: ?"
- ls -l $SUBCON1* || exit
-
- for i in {0..9}
- do
- VBO=`find $SUBCON1 -name "*.loop$i"`
- if [ ! -z $VBO ]
- then
- sub_answer "Decrypt $VBO:(y/n)? "
- if [ $SUBANS == 'y' ]
- then
- # umount /container/loop$i
- umount /file/loop$i
- cryptsetup luksClose loop$i
- losetup -d /dev/loop$i
- losetup /dev/loop$i 2>/dev/null
- fi
- fi
- done
- df -h
- sleep 2
- ls -l /dev/mapper/
复制代码
|
|