delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/09/12:28:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090209171842.GG5416@calimero.vinschen.de>
References: <142096 DOT 37814 DOT qm AT web111214 DOT mail DOT gq1 DOT yahoo DOT com> <20090209171842 DOT GG5416 AT calimero DOT vinschen DOT de>
Date: Mon, 9 Feb 2009 17:27:56 +0000
Message-ID: <2ce9650b0902090927h695d288dsa86e11fff9b3a1c9@mail.gmail.com>
Subject: Re: dd in cygwin vs dd in linux - number of records is always different
From: Chris January <chris AT atomice DOT net>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Mon, Feb 9, 2009 at 5:18 PM, Corinna Vinschen wrote:
> I guess I'll ask on one of the Microsoft newsgroups if this is a known
> effect and especially what I'm doing wrong or what I have to do to
> get the desired behaviour.
>
> Btw., if anybody has an idea what's going wrong, please speak up :}

Maybe this excerpt from the CreateFile documentation applies?
"Note  To read or write to the last few sectors of the volume, you
must call DeviceIoControl and specify FSCTL_ALLOW_EXTENDED_DASD_IO.
This signals the file system driver not to perform any I/O boundary
checks on partition read or write calls. Instead, boundary checks are
performed by the device driver."

Chris

--
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