www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/04/04:10:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=4.3 required=5.0 tests=AWL,BAYES_20,SPF_PASS,SUBJECT_FUZZY_TION
X-Spam-Check-By: sourceware.org
Message-ID: <4A4F0E63.2080505@gmx.net>
Date: Sat, 04 Jul 2009 10:10:11 +0200
From: egghead1 AT gmx DOT net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: bug in dd-Command? dd copies partition without the last 2048 bytes
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

My partition table shows a total number of  398 460 132 sectors for 
partition sdd1, based on 512 bytes/sector , giving a total of 204 011 
587 584 bytes.

dd states 2048 bytes less:

dd if=/dev/sdd1 of=/dev/st0 bs=4096k
48460+1 records in
48460+1 records out
204 011 585 536 bytes (204 GB) copied, 11431.5 s., 17.8 MB/s


+204 011 587 584 partition size according to partition table
-204 011 585 536 bytes copied by dd
=2048

Is this a bug or do I misunderstand something?

Regards
Stefan

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

- Raw text -


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