Build precise queries to find exactly what you need
Press ESC to close
@candreasen
Favorites0
Views
Projects0
Had to modify the script as shown below so that it wouldn't alarm if one mount was a subset of another (e.g. /mnt/foo and /mnt/foo_new would alarm, saying "/mnt/foo is mounted several times (2)" Old line 107: MOUNTED=`mount | grep $MOUNT | grep $FS | wc -l | tr -s " "` # execute the command to check the mount... New line 107: MOUNTED=`mount | grep "$MOUNT" | grep " $FS " | wc -l | tr -s " "` # execute the command to check the mount...
Reviewed 7 years ago