You can mount the same cifs share at the same mount point several times over! # mount | grep prod-dr_log # mount -t cifs //wcl-prod-dr/log /mnt/prod-dr_log -o user=xxx -o password=yyy # mount | grep prod-dr_log //wcl-prod-dr/log on /mnt/prod-dr_log type cifs (rw,mand) # mount -t cifs //wcl-prod-dr/log /mnt/prod-dr_log -o user=x -o password=yyy # mount | grep prod-dr_log //wcl-prod-dr/log on /mnt/prod-dr_log type cifs (rw,mand) //wcl-prod-dr/log on /mnt/prod-dr_log type cifs (rw,mand) Expected results: the second mount command should fail saying this share is already mounted at this location. In general, it shouldn't be possible to have the same mount point appear twice in /etc/mtab or the corresponding kernel data.
> In general, it shouldn't be possible to have the same mount point appear twice > in /etc/mtab or the corresponding kernel data. This is standard Linux feature.