This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: tar a filesystem outside of /cygwin


On Wed, Dec 13, 2000 at 07:53:53AM +0100, Gerrit P. Haase wrote:
><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.

If you do not specify a full path spec, you'll get an "invalid argument"
error message.

I don't know why you are having such a hard time wrapping your brain around
that fact, but that's ok.  I have nothing more to add to this thread.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]