delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/06/02:25:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Joaquin" <winminion AT realmspace DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Where are mount points stored?
Date: Fri, 5 Dec 2003 23:25:33 -0800
Message-ID: <000c01c3bbca$2351fef0$c901a8c0@macross>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <Pine.GSO.4.56.0312050936260.8707@slinky.cs.nyu.edu>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

Well.  What happens if the "mount" and reg query are different?  In QA,
I heard so many times that "It should have worked!?".  Also, knowing how
things work increases understanding, so that I can peak at how other
things work.  Anyways, I don't advise keeping people ignorant as
practice.  It's better to encourage people to think for themselves and
explore, so they don't come begging for help all the time, at least
that's what I try to encourage... (especially in IT)

> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu]
> Sent: Friday, December 05, 2003 6:38 AM
> To: Joaquin
> Cc: cygwin AT cygwin DOT com
> Subject: RE: Where are mount points stored?
>
>
> Ok, so (1) is curiousity.  As for (2), why not simply run
> "mount" instead of the reg query?  It will give you the same
> exact information.
> 	Igor
>
> On Thu, 4 Dec 2003, Joaquin wrote:
>
> > No.  For one (1) I don't want to be ignorant and want to learn how
> > things work.  Secondly (2) this helps me find diagnose and isolate
> > problems.  I found weird behavior with Japanese Windows XP
> Home, where
> > a mount point is being auto-created.  This would help me diagnose
> > exactly when this is happening.  I could do a reg query between
> > operations.
> >
> >   - Joaquin
> >
> >
> > > The main question is (seriously): why do you care?  If
> it's simply
> > > to satisfy your curiousity, the mounts are stored (for
> the moment)
> > > in registry keys, as you could have found out by reading
> the Cygwin
> > > sources (namely winsup/cygwin/path.cc).  However, when
> people find
> > > this out they usually start wanting to go into the registry and
> > > change the mounts there, and that's unacceptable[*].  So,
> here's a
> > > big
> > > DISCLAIMER: do not attempt to change the mounts via
> regedit or other
> > > registry editing software. Always use "mount" to change
> your mounts.
> > > That way, you won't be blindsided when mounts do move to
> /etc/fstab or
> > > something.
> > >       Igor
> > > [*] The only legitimate use of the registry mount knowledge
> > > that I can think of is checking whether there are user mounts
> > > for the SYSTEM user (there shouldn't be).
>
> --
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "I have since come to realize that being between your mentor
> and his route to the bathroom is a major career booster."  --
> Patrick Naughton
>
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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