delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/01/03:45:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 1 Apr 2004 10:36:29 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 64-bit file operations (lseek64() etc) misbehaving
Message-ID: <20040401083629.GB28999@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20040331183428 DOT GA1710 AT esd-mbrown DOT us DOT dg DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0403311408210 DOT 10235 AT slinky DOT cs DOT nyu DOT edu> <20040331201910 DOT GC1710 AT esd-mbrown DOT us DOT dg DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0403311600370 DOT 10235 AT slinky DOT cs DOT nyu DOT edu> <20040331215849 DOT GD1710 AT esd-mbrown DOT us DOT dg DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0403311722410 DOT 10235 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.56.0403311722410.10235@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.2i

On Mar 31 17:36, Igor Pechtchanski wrote:
> Mike,
> 
> Please make sure your mailer respects the Reply-To: header.  Thanks.
> 
> Frankly, I don't see any reason why open() *wouldn't* succeed on
> \\.\PhysicalDrive0...  All it'll do is recognize a Win32 pathname (because
> of the '\'), and pass it along to Windows.  OTOH, Cygwin will not see this
> name as special -- from Cygwin's point of view it's just another file.  So
> any operations invoked on it (including "open") will be regular Windows
> file calls, not special ones (e.g., NtOpenFile with the right attributes,
> as done in fhandler_dev_raw::open).  This might be the reason for your
> initial problem.
> 	Igor

Perfect explanation, Igor!

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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