delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/16/06:44:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0
Message-ID: <15025.64606.615559.320208@jupiter.akutech-local.de>
Date: Fri, 16 Mar 2001 12:43:26 +0100
From: Ralf Fassel <ralf AT akutech DOT de>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: bash: difference between //c/ and c:/
In-Reply-To: <15024.55376.204661.901949@jupiter.akutech-local.de>
References: <71171405 AT toto DOT iv> <15024 DOT 62910 DOT 662998 DOT 88543 AT jupiter DOT akutech-local DOT de>
<20010315191709 DOT A15434 AT cygbert DOT vinschen DOT de> <3AB11798 DOT 499C5E6F AT yahoo DOT com>
Organization: Akustik Technologie Goettingen (ATG)

* Corinna Vinschen
| So it has to be:
| 
|    mount -s -b --change-cygdrive-prefix /

I'll have to try this, too.

In the meantime I could solve my Openssh login problems by using
`mount' and recreating /etc/passwd to have /home/user as HOME.

a) mount -s -b c:\\home /home
   This resolves the login-via-ssh-problem (bash not working as
   login-shell at all)

b) mount -s -b c:\\ /c
   this solves the `ls: .: no such file or directory' when I cd to
   c:/temp in a remote-login bash/sh and then invoke `ls'.

Step `b' should be obsoleted by --change-cygdrive, I have to test
that.

So the keypoint seems to me to `mount' all related pathes:
  - the home directories if they are to be `outside' of /
    (/ is c:/cygwin, /home should be c:/home)
  - the drives, either via explicit mounts, or via --change-cygdrive

This all relates to remote logins via openssh on my system.  Local
Desktop bash runs just fine.

Thanks folks, you've pointed me in the right direction.  No more //c/
business :-)

R'

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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