delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/26/06:43:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <3308.130.240.136.220.1127731371.squirrel@pinus>
Date: Mon, 26 Sep 2005 12:42:51 +0200 (CEST)
Subject: Bug in dd ?? at EOM
From: "Bengt-Arne Fjellner" <Bengt-Arne DOT Fjellner AT ltu DOT se>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.5
MIME-Version: 1.0

When using dd with flags conv=noerror,sync
It tries reading after the disc ends.

This line in cygwin tries reading past end of media:
 dd if=/dev/sdd of=kkkkkk bs=512 skip=156280250 conv=noerror,sync
dd: reading `/dev/sdd': Input/Output error
21120+0 records in
21120+0 records out
10813440 bytes (11 MB) copied, 1.151 seconds, 9.4 MB/s
dd: reading `/dev/sdd': Input/Output error
21120+1 records in
21121+0 records out
repeats "forever"


In linux the same:
 dd if=/dev/hda of=kkkkkk bs=512 skip=90069830 conv=noerror,sync
10+0 records in
10+0 records out

Stops at end of disk. Whos wrong?

Versions:
cygwin dd version
$ dd --version
dd (coreutils) 5.3.0
Written by Paul Rubin, David MacKenzie, and Stuart Kemp.

Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Linux version:
root AT gk ~# dd --version
dd (coreutils) 5.2.1
Written by Paul Rubin, David MacKenzie, and Stuart Kemp.

Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

-- 
Bengt-Arne Fjellner



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