Allright let's escape the colon
$ mount c: /blah\:drivec
mount: warning - /blah:drivec does not exist.
$ cd /blah\:drivec
bash: cd: /blah:drivec: No such file or directory
$ cd /blah:drivec
bash: cd: /blah:drivec: No such file or directory
$ umount /blah\:drivec
umount: /blah:drivec: Invalid
On Fri, May 17, 2002 at 01:11:40PM -0400, David E Euresti wrote:
Allright let's escape the colon
$ mount c: /blah\:drivec
mount: warning - /blah:drivec does not exist.
$ cd /blah\:drivec
bash: cd: /blah:drivec: No such file or directory
$ cd /blah:drivec
bash: cd: /blah:drivec: No such file or
Indeed Cygwin thinks that because the name has a colon it's a win32 path.
In mount_info::conv_to_win32_path
/* An MS-DOS spec has either a : or a \. If this is found, short
circuit most of the rest of this function. */
if (strpbrk (src_path, :\\) != NULL || slash_unc_prefix_p
On Fri, May 17, 2002 at 02:18:22PM -0400, David E Euresti wrote:
But maybe the correct test for Win32ness is if it's a letter followed by a
colon. Or if the colon is the 2nd letter in the name. That way colons
can be used later.
That wouldn't work too well with things like com1: or null:.
cgf
Anybody know why this happens?
$ mount c: /blah:c
mount: warning - /blah:c does not exist.
$cd /blah:c
$ cd /blah:c
bash: cd: /blah:c: No such file or directory
$mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system
At 06:49 PM 5/16/2002, David E Euresti wrote:
Anybody know why this happens?
$ mount c: /blah:c
mount: warning - /blah:c does not exist.
$cd /blah:c
$ cd /blah:c
bash: cd: /blah:c: No such file or directory
$mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type
David E Euresti wrote:
I think it doesn't like the colon. Any ideas?
W2K PRO NL shows this:
D:\tempmkdir foo:bar
De mapnaam is ongeldig.
D:\temp
Which is Dutch for: The directory name is invalid
IIRC a ':' is only valid when adressing a Drive and cannot be used in
Directory names
-Original Message-
From: Gilgamesh Nootebos [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 9:12 AM
...
':'s on NTFS allow alternate streams. Read up on that before
speculating, and please remember that a single test case (your local
test) only shows the results for that
On Fri, May 17, 2002 at 01:12:04AM +0200, Gilgamesh Nootebos wrote:
David E Euresti wrote:
I think it doesn't like the colon. Any ideas?
W2K PRO NL shows this:
D:\tempmkdir foo:bar
De mapnaam is ongeldig.
Which is Dutch for: The directory name is invalid
Whew... for a second
Robert Collins wrote:
':'s on NTFS allow alternate streams. Read up on that before
speculating, and please remember that a single test case (your local
test) only shows the results for that exact configuration.
I just refreshed my memory with
-Original Message-
From: Gilgamesh Nootebos [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 3:25 PM
To: cygwin
Subject: Re: umount doesn't umount
Robert Collins wrote:
':'s on NTFS allow alternate streams. Read up on that before
speculating, and please remember
11 matches
Mail list logo