Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15025.64606.615559.320208@jupiter.akutech-local.de>
Date: Fri, 16 Mar 2001 12:43:26 +0100
From: Ralf Fassel <ralf@akutech.de>
To: cygwin <cygwin@cygwin.com>
Subject: Re: bash: difference between //c/ and c:/
In-Reply-To: <15024.55376.204661.901949@jupiter.akutech-local.de>
References: <71171405@toto.iv> <15024.62910.662998.88543@jupiter.akutech-local.de>
	<20010315191709.A15434@cygbert.vinschen.de> <3AB11798.499C5E6F@yahoo.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

