delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/02/08:22:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Usman Muzaffar <usman AT muzaffar DOT org>
Newsgroups: gmane.os.cygwin
Subject: mount trouble
Date: Mon, 02 Sep 2002 05:21:00 -0700
Lines: 34
Message-ID: <akvkob$55l$1@main.gmane.org>
NNTP-Posting-Host: 12-235-89-245.client.attbi.com
Mime-Version: 1.0
X-Trace: main.gmane.org 1030968908 5301 12.235.89.245 (2 Sep 2002 12:15:08 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Mon, 2 Sep 2002 12:15:08 +0000 (UTC)
User-Agent: KNode/0.7.1

Hi -

I accidentally typed 'umount -A' (remove all mounts) when I mean to type 
'umount -U' (remove user mounts). Two problems:

1. I can't remember exactly, but there used to be 
   four or five mounts defined (/, /usr/bin, /usr/lib,
   maybe some X ones as well). How do I get them back?
   Why does cygwin use something like an /etc/fstab
   file instead of (I'm guessing) registry entries that
   are permanently removed when you umount?

2. Even after restoring /, /usr/bin and /usr/lib, I'm 
   having a lot off difficulty. Notably:

   HOME no longer seems to be set. Double clicking
   on Cygwin bash gives me a shell in '/'. HOME seems 
   to be set to '/'.

   sshd login refuses to work: I get 'permission denied',
   for all users, immediately after entering password.
   In fact, I shouldn't even get password prompt - key auth 
   was working until I lost the mounts.
 
   If I had to guess, it seems like /etc/passwd can't
   be read. But that appears just fine with '/' mounted
   from c:\cgywin.

Surely this command isn't that devastating? How do I get
back to where I was?

thanks,
usman




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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