delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/30/15:26:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT nexgo DOT de>
Subject: Re: Problem reading physical drive data with Windows 8 and cygwin, data is truncated by 288 sectors
Date: Sun, 30 Sep 2012 21:26:07 +0200
Lines: 30
Message-ID: <87sj9zwbw0.fsf@Rainer.invalid>
References: <1349032239 DOT 76806 DOT YahooMailNeo AT web171402 DOT mail DOT ir2 DOT yahoo DOT com>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
X-IsSubscribed: yes
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

GrahamC writes:
> dd bs=512 if=/dev/sdg of=/dev/null
____________________^^^

This is the raw device.

> dd bs=512 if=/dev/sdh1 of=/dev/null
____________________^^^^

This is the first partition (or fs if unpartitioned) on that device.  It
obviously cannot be larger than the device unless there's some error,
but it can certainly be smaller.

> Those 8036139008 bytes do exactly match the first 8036139008 of
> the 8036286464 read on the Linux system so it is definitely the
> same device.

It is quite common that a few sectors at the end of the device (or
between partitions) aren't used to keep certain constraints on the
layout of the device or the file system.



Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


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