tar a filesystem outside of /cygwin

Gerrit P. Haase gerrit.haase@t-online.de
Tue Dec 12 22:52:00 GMT 2000


<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@LORELEY /hdd
$ mount c:\ftp /ftp
mount: /ftp: Invalid argument

2.
siebenschlaefer@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@sourceware.cygnus.com



More information about the Cygwin mailing list