Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <20000110093801.50715.qmail@hotmail.com>
X-Originating-IP: [193.207.88.219]
From: "Emanuele Aliberti" <ealiberti@hotmail.com>
To: jsturm@sigma6.com, costa@cade.com.br
Cc: cygwin@sourceware.cygnus.com
Subject: Re: cygwin poll
Date: Mon, 10 Jan 2000 10:38:01 CET
Mime-Version: 1.0
Content-Type: text/plain; format=flowed

Andre Oliveira da Costa wrote:

>I created a zero-length file named "aux" in the POSIX subsystem
[omissis]
>This seems like a bug in Windows Explorer, but we can't prevent it
>without avoiding reserved names completely, so that'd be my
>recommendation.

Win32 applications access devices via symbolic links in the executive 
namespace (at least under NT), idem PSX applications.

"AUX", if opened by KERNEL32.CreateFile, actually opens \DosDevices\AUX . 
"\DosDevices" is actually a link to "\??", and "\??\AUX" is a link to 
"\DosDevices\COM1", and finally "\??\COM1" is a link to "\Device\Serial0". 
Since file names management is filtered on a subsystem basis (Win32 
filtering is different than PSX one), there is no way to access an "AUX" 
file created in PSX from a Win32 application (PSXDLL.creat and PSXDLL.open 
do not see the "aux" redirected to "\Device\Serial0"; probably they see 
"/dev/tty0" as "\Device\Serial0").

A freeware executive's namespace browser is here: 
http://www.sysinternals.com/winobj.htm
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


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

