Hi,
When i check the cifs = cifs i could get two dupliates of cifs present in unix. so the system couldnt check. could you please let me know how to make the change code to find out the unique one in the line 6.
1NTBD="/ft/sv/ss"
2check_ntfs()
3{
4 # Check that the necessary NT areas are mounted
5 [[ ! -d $NTBD ]] && error "Cannot find $NTBD"
6 [[ "$(df -n $NTBD | awk '{print $NF}')" = "cifs" ]]
7 print -u2 "$NTBD filesystem is mounted correctly"
8 return 0
}
I need to change the code to find the unique oe below.
Output:
> df -n /ft/sv/ss
/ft/sv/ss (ft45:/ss ) : cifs
/ft/sv/ss (ft45:/ss ) : cifs