X-Spam-Check-By: sourceware.org Date: Wed, 14 Jun 2006 15:48:23 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: kralius cc: cygwin AT cygwin DOT com Subject: Re: cygdrive flags / hiding cygdrive prefix directory (the old behavior) In-Reply-To: Message-ID: References: <448F8921 DOT 1262D3F5 AT dessent DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 wrote: . 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: > > . 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, . 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/