delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/14/15:48:40

X-Spam-Check-By: sourceware.org
Date: Wed, 14 Jun 2006 15:48:23 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: kralius <gatetman AT gmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior)
In-Reply-To: <d4ccd4620606141226j20a55feax634d3a4ad9cfed68@mail.gmail.com>
Message-ID: <Pine.GSO.4.63.0606141541460.20913@access1.cims.nyu.edu>
References: <d4ccd4620606131822i1022ac63p67550f0ee2af4ea8 AT mail DOT gmail DOT com> <448F8921 DOT 1262D3F5 AT dessent DOT net> <d4ccd4620606141226j20a55feax634d3a4ad9cfed68 AT mail DOT gmail DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Wed, 14 Jun 2006, kralius wrote:

> On 6/13/06, Brian Dessent <brian AT XXXXXXX DOT XXX> wrote:

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

> > > changed to become visible.  The cygwin installer now also creates a
> > > real directory on the windows file system called cygdrive,
> >
> > I don't know where you got this idea but it's absolutely not true.
> > There should never be a physical directory backing the cygdrive prefix,
> > and no package (and certainly not setup.exe) should ever create it.
> > Some users may create it to assist in tab-completion, but that is
> > something they would have done by hand.
>
> I agree that it shouldn't create this directory... But i have tried
> this a couple more times to verify.  If i only do a base install, it
> does not create a physical cygdrive directory, but if i install
> everything, it does.  (for reference, this is from a full download to
> disk on june 8, 2006 from the sourceware.mirrors.tds.net mirror).

If anything does this, it will probably be a postinstall script that
contains the string "cygdrive".  Grep through all .sh.done files in
/etc/postinstall, and you'll likely find the culprit.

> > This change was made in 1.5.19:
> > <http://www.cygwin.com/ml/cygwin-announce/2006-01/msg00016.html>.  It
> > was a change to the code in the DLL, and it has nothing to do with
> > flags in the mount table.
>
> Great!  This is what i was looking for.  Do you think anyone at cygwin
> would consider making this feature optional in a later release?

They will probably consider it and reject it.  The spirit of open-source
software is that you scratch what itches you, and others benefit.  This is
not something that itches any of the Cygwin developers.  Hence,
<http://cygwin.com/acronyms/#PTC>.

If you do plan to submit a patch, I suggest looking at the
fhandler_disk_file::readdir() function, and changing it to optionally
remove the virtual /cygdrive directory according to a new cygdrive flag
(and add a corresponding mount option).  That way, this behavior can be
controlled according to people's tastes.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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