www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.1 required=5.0 tests=AWL,BAYES_20,J_CHICKENPOX_56 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <142096.37814.qm@web111214.mail.gq1.yahoo.com> |
Date: | Sun, 8 Feb 2009 16:30:29 -0800 (PST) |
From: | Morph Ex <morphex9 AT yahoo DOT com> |
Subject: | dd in cygwin vs dd in linux - number of records is always different |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
I'm trying to use "dd" to create a md5 checksum of a dvd. The problem is that the number of records read by "dd" is always different depending on the OS used. For example, using the same command below in both cygwin and linux displays the following results. dd if=/dev/scd0 bs=2048 iflag=direct | md5sum -b Linux (ubuntu 8.10 amd64) 28446caccede349759e4e9fed8bce862 3025539+0 records in 3025539+0 records out 6196303872 bytes (6.2 GB) copied, 3347.83 s, 1.9 MB/s Cygwin (windows xp pro) 15cab8963c4746eca21c014224adefa3 3025538+0 records in 3025538+0 records out 6196301824 bytes (6.2 GB) copied, 3323.91 s, 1.9 MB/s For some reason there is always 1 less record read in cygwin. I've tested numerous dvds and they all end up being 1 record less in Cygwin than the Linux results. Why is this happening? Is there any way to force "dd" to skip 1 record at the very end of the dvd? -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |