Update util-iso-mount.sh
This commit is contained in:
parent
9e9b793aab
commit
9a99817285
1 changed files with 8 additions and 0 deletions
|
@ -73,11 +73,19 @@ umount_fs(){
|
||||||
for i in "${FS_ACTIVE_MOUNTS[@]}"
|
for i in "${FS_ACTIVE_MOUNTS[@]}"
|
||||||
do
|
do
|
||||||
cat /proc/mounts
|
cat /proc/mounts
|
||||||
|
info "umount: [%s]" "$i"
|
||||||
check_umount $i
|
check_umount $i
|
||||||
cat /proc/mounts
|
cat /proc/mounts
|
||||||
done
|
done
|
||||||
unset FS_ACTIVE_MOUNTS
|
unset FS_ACTIVE_MOUNTS
|
||||||
rm -rf "${mnt_dir}/work"
|
rm -rf "${mnt_dir}/work"
|
||||||
fi
|
fi
|
||||||
|
for i in "$(grep ${work_dir} /proc/mounts | awk '{print$2}' | sort -r)"
|
||||||
|
do
|
||||||
|
cat /proc/mounts
|
||||||
|
info "umount: [%s]" "$i"
|
||||||
|
check_umount $i
|
||||||
|
cat /proc/mounts
|
||||||
|
done
|
||||||
cat /proc/mounts
|
cat /proc/mounts
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue