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

X-Spam-Check-By: sourceware.org
Message-ID: <d4ccd4620606151115t41d78540t2634e0220dbf4dd8@mail.gmail.com>
Date: Thu, 15 Jun 2006 13:15:16 -0500
From: "Carl Christopher Edquist" <gatetman AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior)
In-Reply-To: <31DDB7BE4BF41D4888D41709C476B65704168B02@NIHCESMLBX5.nih.gov>
MIME-Version: 1.0
References: <BD6B3BD6A3C3EC4FBC45FF024CE10437025A98CA AT WAPRDVSEBE10 DOT gsm1900 DOT org> <31DDB7BE4BF41D4888D41709C476B65704168B02 AT NIHCESMLBX5 DOT nih DOT gov>
X-IsSubscribed: yes
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 6/15/06, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> Does the following do what you want?
>         mount -u -b --change-cygdrive-prefix "/"

> Stepp, Charles wrote:
> >  Symlink?
> >
> > ln -s /cygdrive/c /c

No... Thanks but no.  Barry and Charles, i think you're answering a
different question.  This thread wasn't about changing the path for
the cygdrive prefix, but, rather, making it invisible to cygwin
programs.



Igor, about /cygdrive being created upon install:

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

No luck with anything in /etc/postinstall.  Hmm...  not sure if anyone
will care enough to investigate this.

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

Thanks for the advice!


- Kral

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