X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Problem with mount points Date: Tue, 17 Nov 2009 01:32:25 -0700 Lines: 39 Message-ID: References: <0233CE52889B6140A855C8EC50E60F65101D67CC60 AT mucse406 DOT eu DOT infineon DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.4pre) Gecko/20090915 Lightning/1.0pre Thunderbird/3.0b4 In-Reply-To: <0233CE52889B6140A855C8EC50E60F65101D67CC60@mucse406.eu.infineon.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 11/17/2009 01:05 AM, helge DOT kleve AT infineon DOT com wrote: > Hello, > i have have a problem with cygwin1.7 on windows Server 2003 Standard > Edition. > Example: > Two user works on the same server machine e.g. myserver1. > User A mapped the shared drive where cygwin is installed to the drive > letter Z: and user B mapped this shared drive to T: > So what happens? The user who starts a cygwin shell first has no > problems, but the user B who start cygwin after user B has wrong mount > points. > User B see the main mount points from user A. > > ===> /, /usr/bin, and /usr/lib is mapped to Z: and not to T: > > How can i solve this problem? > > Best regards > Helge This is the problem with drive letters and one example of where they are evil. Change the mount points from using drive letters to using UNC paths. Then both user A and user B see the same thing. IIRC: $ umount -s / $ umount -s /usr/bin $ umount -s /usr/lib $ mount -sbf //server//share/path/to/cygwin / $ mount -sbf //server//share/path/to/cygwin /usr/bin $ mount -sbf //server//share/path/to/cygwin /usr/lib Note running Cygwin from a network location will do very little to speed execution... -- Andrew DeFaria Keep honking while I reload. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple