X-Spam-Check-By: sourceware.org Message-ID: Date: Thu, 15 Jun 2006 13:15:16 -0500 From: "Carl Christopher Edquist" 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <31DDB7BE4BF41D4888D41709C476B65704168B02 AT NIHCESMLBX5 DOT nih DOT gov> X-IsSubscribed: yes 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 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, > . > > 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/