X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject:  Re: Problem with mount points
Date:  Tue, 17 Nov 2009 01:32:25 -0700
Lines: 39
Message-ID: <hdtn2p$4o7$1@ger.gmane.org>
References:  <0233CE52889B6140A855C8EC50E60F65101D67CC60@mucse406.eu.infineon.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com



On 11/17/2009 01:05 AM, helge.kleve@infineon.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 <http://defaria.com>
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

