delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/28/18:11:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B3B9B36.1050300@Interwoven.com>
Date: Thu, 28 Jun 2001 14:01:42 -0700
From: Sandeep Tamhankar <sandman AT Interwoven DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US; rv:0.9) Gecko/20010507
X-Accept-Language: en
MIME-Version: 1.0
To: John Wiersba <John DOT Wiersba AT medstat DOT com>
CC: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Mount issues
References: <03F4742D8225D21191EF00805FE62B9908E23EE7 AT aa-msg-01 DOT medstat DOT com>
X-AntiVirus: scanned for viruses by Interwoven Virus scanner (http://www.interwoven.com)

Well, I can't unmount these mount points because Cygwin automatically 
creates these user mounts on login with (textmode, noumount) settings.  
And when I try to add the system mount points without unmounting the 
user mounts, I get the following warning:

~: mount -s c: /cygdrive/c
mount: warning: system mount point of '/cygdrive/c' will always be 
masked by user mount.

I feel like this needs to be solved in an environment variable or the 
registry.  I mean, what makes cygwin automatically mount these drives 
and what makes it use textmode?  And why is it that my user-id mounts 
them in binary mode, but all other users get textmode?  The only 
distinction between me and the other user I've been expermenting with is 
that my username's the one that's done the various Cygwin installations 
over the years.

And the registry doesn't show these mounts at all.  And that kinda makes 
sense because Cygwin wants to auto-mount all the current drive letters, 
and that can change over time.  So when I start a Cygwin shell, it 
checks which drive letters are around and creates mount points for 
them....it just happens to create them in textmode for anyone except me.

Any other ideas?

-Sandeep

John Wiersba wrote:

>Use mount -s to remount them.  You may need to umount them first.
>
>>-----Original Message-----
>>From: Sandeep Tamhankar [mailto:sandman AT Interwoven DOT com]
>>Sent: Thursday, June 28, 2001 2:00 PM
>>To: cygwin
>>Subject: Mount issues
>>
>>
>>When I log into my W2k box and start up a Cygwin 1.3.2-1 shell, I see 
>>that various drives are mapped with binmode.  But when I log in as 
>>someone else, I see those same drives mounted in text mode.  I 
>>understand that these are user mounts.  How do I set things 
>>so that no 
>>matter who logs in (either on console or via Cygwin telnet), these 
>>mounts are in binmode?
>>
>>I've set my CYGWIN (system) environment variable to binmode and my 
>>c:\cygwin\usr\sbin\inetd.exe REG_SZ value in the registry to "binmode 
>>tty ntsec".
>>
>>TIA.
>>
>>-Sandeep
>>
>>
>>--
>>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>Bug reporting:         http://cygwin.com/bugs.html
>>Documentation:         http://cygwin.com/docs.html
>>FAQ:                   http://cygwin.com/faq/
>>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019