How to create hard-dir links that cygwin won't bother?

2014-01-12 Thread Linda Walsh

I've tried using mklink /d target source in cmd
I'm wondering if i'd have any better success with junctions or linkd
(2 pre-win7 ways of doing directory linking/mounting in Windows).

I have a dual install of cygwin-x86  xygwin-x86-64 existing
mostly side by side in root -- but some programs don't play nice.

One appears to be setup -- or a script called by setup that
seems to change the link into a dir - which screws up all remaining
setups

I also have a prob with the cygwin mount
c:/bin on /usr/bin -- anything in /usr/bin shows a path of:
/Windows/system32/cygwin/bin/prog

Which is wrong on multiple levels.

oh. it turns out /bin is being overwritten as well.

My links for bin  etc point to:

C:\Windows\System32\cygwin\dir

my cygwin dir in System32 points to C:\cygwin or C:\cygwin64
depending on if it is a 32-bit process accessing System32 or a 64-bit process 
accessing

System32.

But this bit of setup deleting my directories is raising havok...



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: How to create hard-dir links that cygwin won't bother?

2014-01-12 Thread Ken Jackson

On 01/12/2014 12:23 PM, Linda Walsh wrote:

I have a dual install of cygwin-x86  xygwin-x86-64 existing
mostly side by side in root -- but some programs don't play nice.


Are you saying you entered C:\ when setup.exe prompted for a root?

That's addressed in the FAQ where you are urged not to choose it.

http://cygwin.com/faq.html#faq.setup.c

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple