I ussually use this shell script to check if the folder is a symlink or not :
if [ -L path ]
but in my case , the folder can be in 3 types : normal folder, symlink folder or mounted from my network (using mount_smbfs command) . How to check if the folder is a mounted one ?