delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/13/21:22:32

X-Spam-Check-By: sourceware.org
Message-ID: <d4ccd4620606131822i1022ac63p67550f0ee2af4ea8@mail.gmail.com>
Date: Tue, 13 Jun 2006 20:22:20 -0500
From: kralius <gatetman AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: cygdrive flags / hiding cygdrive prefix directory (the old behavior)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

I'm trying to find a way to make the cygdrive prefix directory
(default: /cygdrive) appear hidden within cygwin (for example, to ls
or find).

This was actually the old behavior in cygwin, but at some point it
changed to become visible.  The cygwin installer now also creates a
real directory on the windows file system called cygdrive, but even if
I delete this or change the cygdrive prefix to something non-default
(like /mnt), it will still show up (with ls, find, etc.).

For a while, i suspected this had something to do with the cygdrive
flags parameter (in the registry under ...\cygwin\mounts v2 ), but i'm
having no success playing with that now, and the cygwin faq and
mailing list archives are all very quiet about the subject.  The only
mention of cygdrive flags in the registry that i could find was at
least 3 years old and got a reply to the effect of "don't mess with
the registry!"  (*sigh*)


Does anyone have an idea how to get the old behavior back of hiding
the cydrive prefix directory?

And, whether or not it is related, does anyone know how the cygdrive
flags parameter is defined, what options can be set with it, etc. ?


a big thanks ahead of time,

- 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