X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B56274D.8050100@cygwin.com>
Date: Tue, 19 Jan 2010 16:42:37 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.5.25-15: problem with mount table
References: <6daaa75b1001191303y25211f5cie950abe8ac06eb81@mail.gmail.com>
In-Reply-To: <6daaa75b1001191303y25211f5cie950abe8ac06eb81@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 01/19/2010 04:03 PM, Mike Nistor wrote:
> Just a few minutes ago, I tried to unmount a few mounts I had the
> previous semester. Because I was not able to unmount each specific
> mount I had, I instead ran umount -a, which erased both the /bin and
> /etc entries from the mount table. A few notes: I realize I should not
> be using mount and should rather be using ln. I tried reinstalling
> cygwin to repair the mount table, and that did not work thus far. I
> tried remounting them, but to no avail.
>
> What's happening now, is that when I run cygwin it does not
> autmatically cd me to my user directory, and I had to add to the
> windows path for bash to even see cygcheck, ls, and basics like that.
> I'm attaching cygcheck.out, and if anyone has any idea how to repair
> the mount table from my mistake, please help.

'cygcheck' is not a Cygwin program so there is no need to do anything
special to run it.

Do the following:

mount -s -b e:/cygwin /
mount -s -b e:/bin /usr/bin
mount -s -b e:/lib /usr/lib
mount -s -b -c /cygdrive

That should get you back to the basics.  Of course, the above is from memory
so there might be a typo or two in there.  I don't keep around a 1.5.x 
environment
so I can't easily check the specific syntax.  In the future, you might find 
'mount -m'
helpful.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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

