delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/11/14:21:08

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
Message-ID: <8928D5E06A71D4118C13001083F9AD4FDE1B4E@sandiego-ex1.sandiego.akamai.com>
From: "Danko, Gary" <gary DOT danko AT akamai DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: Pushing out Cygwin installations
Date: Thu, 11 Jan 2001 10:28:38 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

You know what was cool.. copy CMD.EXE to D:\Cygwin\bin and modify
/etc/passwd so that my shell is /bin/cmd

When I login via SSH I get the NT CLI :)

-----Original Message-----
From: Christopher Faylor [mailto:cgf AT redhat DOT com]
Sent: Thursday, January 11, 2001 10:21 AM
To: 'cygwin AT cygwin DOT com'
Cc: gary DOT danko AT akamai DOT com
Subject: Re: Pushing out Cygwin installations


On Thu, Jan 11, 2001 at 12:41:51PM -0500, Danko, Gary wrote:
>Okay let me get this straight. :)
>
>Got a plain vanilla install.  Copy the Cygwin directory to the new server.
>Create the mount points and I am done?
>
>Do I need to copy HKLM\Software\Cygnus Solutions ???
>
>Oh, I tried to run mount.. Here's what happened.
>
>bash-2.04$ pwd
>/cygwin/bin
>bash-2.04$ ./mount
>Device              Directory           Type         Flags
>bash-2.04$ ./mount d:\cygwin /
>./mount: /: Invalid argument
>bash-2.04$

Bash is a UNIX shell.  '\' is a quoting character in bash.

So, your options are:

1) Don't run the command from bash.

2) Use a '/':

./mount d:/cygwin /

3) Double the backslashes:

./mount d:\\cygwin /

4) Quote the first argument:

./mount 'd:\cygwin' /

cgf

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