This is the mail archive of the
mailing list for the Cygwin project.
Re: Wrong links in /etc
Angelo Graziosi wrote:
> Following the discussion "Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1"
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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html