delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/28/21:50:46

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: <006401c1003d$835cd9f0$6464648a@ca.boeing.com>
From: "Michael A. Chase" <mchase AT ix DOT netcom DOT com>
To: "Sandeep Tamhankar" <sandman AT Interwoven DOT com>
Cc: "cygwin" <cygwin AT sourceware DOT cygnus DOT com>
References: <03F4742D8225D21191EF00805FE62B9908E23EE7 AT aa-msg-01 DOT medstat DOT com> <3B3B9B36 DOT 1050300 AT Interwoven DOT com>
Subject: Re: Mount issues
Date: Thu, 28 Jun 2001 18:42:06 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

Before messing with your mount points, I suggest saving a list of the
current mounts to a file (mount > file.txt; mount -p >> file.txt).

You can run mount.exe from the MSDOS prompt.  That allows you to umount all
the user mount points (umount -U) before you replace them with system mount
points (mount -b -s <msdospath> <posixpath>).  You should probably exit all
Cygwin programs first.

You don't want to explicitly mount anything under /cygdrive.  /cygdrive is a
convenience mount point for any MSDOS drive letters that you haven't mounted
explicitly.  You remove and establish the cygdrive prefix using special
options to umount (umount -u -c) and mount (mount -b -s -c <posixpath>)
respectively.

Both mount and umount display a help screen if given the "-h" option.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
----- Original Message -----
From: "Sandeep Tamhankar" <sandman AT Interwoven DOT com>
To: "John Wiersba" <John DOT Wiersba AT medstat DOT com>
Cc: "cygwin" <cygwin AT sourceware DOT cygnus DOT com>
Sent: Thursday, June 28, 2001 14:01
Subject: Re: Mount issues


> 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.

Search the registry for 'Cygwin', but you really are better off using mount
and umount to change your mount points.



--
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