forked from mirrored-repos/manjaro-tools
Update util-iso-mount.sh
This commit is contained in:
parent
6c127f06f8
commit
7bcbc518f1
1 changed files with 0 additions and 4 deletions
|
@ -73,10 +73,8 @@ umount_fs(){
|
||||||
#umount "${FS_ACTIVE_MOUNTS[@]}"
|
#umount "${FS_ACTIVE_MOUNTS[@]}"
|
||||||
for i in "${FS_ACTIVE_MOUNTS[@]}"
|
for i in "${FS_ACTIVE_MOUNTS[@]}"
|
||||||
do
|
do
|
||||||
cat /proc/mounts
|
|
||||||
info "umount: [%s]" "$i"
|
info "umount: [%s]" "$i"
|
||||||
check_umount $i
|
check_umount $i
|
||||||
cat /proc/mounts
|
|
||||||
done
|
done
|
||||||
unset FS_ACTIVE_MOUNTS
|
unset FS_ACTIVE_MOUNTS
|
||||||
rm -rf "${mnt_dir}/work"
|
rm -rf "${mnt_dir}/work"
|
||||||
|
@ -84,10 +82,8 @@ umount_fs(){
|
||||||
mount_folders=$(grep "${work_dir}" /proc/mounts | awk '{print$2}' | sort -r)
|
mount_folders=$(grep "${work_dir}" /proc/mounts | awk '{print$2}' | sort -r)
|
||||||
for i in $mount_folders
|
for i in $mount_folders
|
||||||
do
|
do
|
||||||
cat /proc/mounts
|
|
||||||
info "umount: [%s]" "$i"
|
info "umount: [%s]" "$i"
|
||||||
check_umount $i
|
check_umount $i
|
||||||
cat /proc/mounts
|
|
||||||
done
|
done
|
||||||
cat /proc/mounts
|
cat /proc/mounts
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue