This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to undo mount on cygwin 1.5


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]