How to check if the folder is a mounted folder?

71 views Asked by At

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 ?

0

There are 0 answers