Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT 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 To: cygwin 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