Skip to contentSkip to conversation

cifs mounting multiple times

DISCUSSION Tucker Cunningham 1 participant 1 message Nov 9, 2005 VFS

lore
Share & tools
lore
#0 lore raw

hi -
I noticed that if you run multiple mount commands for the same cifs share onto the same mountpoint, mount does not throw an error, it simply stacks up entries in the mounttab. This seems inconsistent with other mount commands, which only allow something to be mounted on a mountpoint once. Is this a feature that I'm unaware of, or a bug?

example:

tucker@buffalo:~/temp$ sudo mount -t cifs //sloth/fs cifs -o user=tucker,password=*****
tucker@buffalo:~/temp$ sudo mount -t cifs //sloth/fs cifs -o user=tucker,password=*****
tucker@buffalo:~/temp$ sudo mount -t cifs //sloth/fs cifs -o user=tucker,password=*****
tucker@buffalo:~/temp$ sudo mount -t cifs //sloth/fs cifs -o user=tucker,password=*****
tucker@buffalo:~/temp$ mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
...
cheetah:/export/usr_local on /auto/usr_local type nfs (ro,addr=192.168.1.7)
//sloth/fs on /home/tucker/temp/cifs type cifs (rw,mand)
//sloth/fs on /home/tucker/temp/cifs type cifs (rw,mand)
//sloth/fs on /home/tucker/temp/cifs type cifs (rw,mand)
//sloth/fs on /home/tucker/temp/cifs type cifs (rw,mand)
tucker@buffalo:~/temp$

Thanks for your help.

-tucker

Signature · 4 lines
Tucker Cunningham
Integration Appliance Inc.
email: [email protected]
cell: 650.387.5980