X-Spam-Check-By: sourceware.org Message-ID: <452EC959.7642F0D1@dessent.net> Date: Thu, 12 Oct 2006 16:01:45 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Wrong links in /etc References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Angelo Graziosi wrote: > > Following the discussion "Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1" > (http://cygwin.com/ml/cygwin/2006-10/msg00411.html...) So why are you starting a new thread when the discussion in the existing one is still ongoing? > I would ask if it is the case, as workaround, to recreate, manually, those > links in the correct way, for example: > > ln -sf /c/WINDOWS/system32/drivers/etc/hosts hosts Or more simply just for F in hosts protocols services networks; do ln -sf "$(cygpath -S)/drivers/etc/$F" $F; done But the whole point is that if you (or another user on the system) later changes the cygdrive prefix after you create the links, then they will break. So as long as you don't regularly change cygdrive then that is fine, but for the purposes of a "correct" solution the need remains for a /cygdrive-like tree that can be relied on existing. FWIW, my vote goes for making something like /dev/systemroot to map to the Windows system32 directory, rather than making a second cygdrive prefix that never changes. Brian -- 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/