This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dd in cygwin vs dd in linux - number of records is always different


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]