X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 1 Sep 2010 17:05:17 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: How to undo mount on cygwin 1.5 Message-ID: <20100901210517.GC24780@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 Wed, Sep 01, 2010 at 08:56:32PM +0000, Saurabh T wrote: >I was trying to get the "execvp: argument list too long" error to go >away while using make on cygwin, and followed the instructions mentioned >in several posts such as this one: >http://cygwin.com/ml/cygwin/2005-05/msg00358.html That should no longer be necessary. Cygwin, by default, has a very long command line length. >Accordingly, I did this in my cygwin bash shell: > >mount -X -b -f c:/cygwin/bin /usr/bin >mount -X -b -f c:/cygwin/bin /bin >mount -x -b -f c:/cygwin/bin/strace.exe /usr/bin/strace.exe >mount -x -b -f c:/cygwin/bin/strace.exe /bin/strace.exe >mount -x -b -f c:/cygwin/bin/cygcheck.exe /usr/bin/cygcheck.exe >mount -x -b -f c:/cygwin/bin/cygcheck.exe /bin/cygcheck.exe >mount -x -b -f c:/cygwin/bin/strace.exe /usr/bin/strace > >mount -x -b -f c:/cygwin/bin/strace.exe /bin/strace > >mount -x -b -f c:/cygwin/bin/cygcheck.exe /usr/bin/cygcheck > >mount -x -b -f c:/cygwin/bin/cygcheck.exe /bin/cygcheck > >thinking that they would be temporary as mentioned in some emails on the >list. Turns out they are temporary on cygwin 1.7 but not on the older >version which I'm using. I rebooted the machine yet "mount" showed the >results of above. > >How to I undo the above and get back the original mount state? umount >does not have the complementary options. If you are seeing permanent mounts after using mount and rebooting then you are not running Cygwin 1.7.x. This is one of the many reasons that we ask people to follow the problem reporting guidelines at: http://cygwin.com/problems.html . cgf -- 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