delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/01/17:09:22

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 1 Sep 2010 17:09:11 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How to undo mount on cygwin 1.5
Message-ID: <20100901210910.GA27143@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BAY158-w502E4ED9A74318458A3376B18B0 AT phx DOT gbl> <20100901210517 DOT GC24780 AT ednor DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
In-Reply-To: <20100901210517.GC24780@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 05:05:17PM -0400, Christopher Faylor wrote:
>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 .

Sorry.  I didn't read your email as thoroughly as I should have.

Scratch all of the above.  You've stated that you're using an old,
unsupported version of Cygwin.  If you didn't save your original mount
state there is no way to get back to the pristine state.  You can umount
some of the obvious stuff above though, and remount c:/cygwin/bin
without the -X.

And, FYI, Cygwin 1.5 is in an "as-is" state.  We don't really support it
here anymore.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019