delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/08/19:02:48

From: jazz AT opennt DOT com (Jason Zions)
Subject: RE: phantom file "aux" under bash b19
8 Apr 1998 19:02:48 -0700 :
Message-ID: <31AA903A2A1FD111A06300805F4B6D640174A574.cygnus.gnu-win32@ssi2.opennt.com>
Mime-Version: 1.0
To: "'Peter Miller'" <peterm AT jna DOT com DOT au>, gnu-win32 AT cygnus DOT com

> Michael Hirmke writes:
> > There are a few of those special files: con, com<x>, lpt<x>, ...
> 
> Having these files is *every* directory seems excessive.
> (I've run into this problem, especially ``aux''.)
> 
> Surely they could be absolute?
> 	/con, /com<n>, /lpt<n>, etc...
> 
> or even a touch unix-ish
> 	/dev/con, /dev/aux, etc...

You don't understand. Cygwin doesn't create these names; ideally, cygwin
could make them completely unmagic.

Unfortunately, the magic meaning of those names is hardcoded into Win32.
There's no way to avoid the problem if you use Win32 APIs, which cygwin
does.

The MS POSIX subsystem doesn't have trouble with those names because it is
implemented on top of the native NT API and doesn't use Win32 to open files.

Jason Zions
Softway Systems
(The fine folks who bring you OpenNT)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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