This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Installing new cygwin programs, writes over /usr/local/bin link
- From: <cygwin at kosowsky dot org>
- To: cygwin at cygwin dot com
- Date: Wed, 16 Oct 2013 11:41:00 -0400
- Subject: Re: Installing new cygwin programs, writes over /usr/local/bin link
- Authentication-results: sourceware.org; auth=none
- References: <21085 dot 47659 dot 817174 dot 331908 at consult dot pretender> <20131016114746 dot GA7458 at calimero dot vinschen dot de>
Corinna Vinschen wrote at about 13:47:46 +0200 on Wednesday, October 16, 2013:
> On Oct 15 17:56, ANONYMOUS wrote:
> > Is there any reason why each time a new cygwin program is
> > installed/updated, the installer overwrites my /usr/local/bin link?
> >
> > I symlink /usr/local/bin to another location and it gets overwritten
> > each time.
> >
> > Is there any way to avoid such behavior?
>
> Not for the time being. Rather than creating a symlink, create a
> mount point in /etc/fstab or /etc/fstab.d/$USER:
>
> C:/your/own/local/bin /usr/local/bin xxx binary 0 0
Thanks Corinna...
Just a follow-up question.
I have found that the fstab.d mounts don't automount. Is that by
design? Or is there some way to turn on automounting. For now I need
to run mount -a manually (or I guess I could put in my .bash_profile)
--
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