From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tucker Cunningham Subject: cifs mounting multiple times Date: Wed, 09 Nov 2005 14:57:38 -0800 Message-ID: <43727EE2.7020603@intapp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from fw2.intapp.com ([216.193.238.74]:23062 "HELO mail1.intapp.com") by vger.kernel.org with SMTP id S1161060AbVKIW5o (ORCPT ); Wed, 9 Nov 2005 17:57:44 -0500 To: linux-fsdevel@vger.kernel.org Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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 -- Tucker Cunningham Integration Appliance Inc. email: tucker@intapp.com cell: 650.387.5980