delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/13/01:53:11

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
From: "Gerrit P. Haase" <gerrit DOT haase AT t-online DOT de>
Organization: Esse keine toten Tiere
To: Christopher Faylor <cgf AT redhat DOT com>, cygwin AT cygwin DOT com
Date: Wed, 13 Dec 2000 07:53:53 +0100
MIME-Version: 1.0
Subject: Re: tar a filesystem outside of /cygwin
Reply-to: gerrit DOT haase AT t-online DOT de
Message-ID: <3A372B11.1557.336A22F@localhost>
In-reply-to: <20001212155838.A5824@redhat.com>
References: <3A368E31 DOT 25559 DOT D1D868 AT localhost>; from gerrit DOT haase AT t-online DOT de on Tue, Dec 12, 2000 at 08:44:33PM +0100
X-mailer: Pegasus Mail for Win32 (v3.12cDE)

<12 Dec 2000, 15:58 Uhr wars, als Christopher Faylor folgendes schrub:>
< Re: tar a filesystem outside of /cy >


> In that case you were using backslashes in bash.  For the 100000000000000000000th
> time: a backslash is a quoting character in UNIX shells.  If you want to use
> it you have to double it up.  So you either have to:
> 
> bash$ mount d:\\ftproot /ftproot
> 
> or
> 
> bash$ mount d:/ftproot /ftproot
> 
> cgf

Repetition from my former email!

O.K., but there is still no explanation, why i got this error doing:
mount c:\ftp /ftp

1.
siebenschlaefer AT LORELEY /hdd
$ mount c:\ftp /ftp
mount: /ftp: Invalid argument

2.
siebenschlaefer AT LORELEY /hdd
$ mount c:\ftp ftp
mount: ftp: Invalid argument

The second case is o.k., argument ftp is invalid, but in first case, 
not /ftp is invalid, but 'c:ftp' because the quote is a quote and a 
backslash or slash is missing in this place, so there is the wrong 
error message, IMHO.
-- 
Gerrit Peter Haase

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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