delorie.com/archives/browse.cgi | search |
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: | <4333525E.5070003@byu.net> |
Date: | Thu, 22 Sep 2005 18:54:54 -0600 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Anyone know about interaction of 'dd' with memory cards? |
References: | <SERRANO1IfpT8vWyu9k000001df AT SERRANO DOT CAM DOT ARTIMI DOT COM> |
In-Reply-To: | <SERRANO1IfpT8vWyu9k000001df@SERRANO.CAM.ARTIMI.COM> |
X-IsSubscribed: | yes |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Dave Korn on 9/22/2005 11:22 AM: > Now, dd is supposed to terminate the copy operation when it reaches EOF on > the input, and I doubt that is broken. What I'm wondering is, I _expected_ > that reading /dev/sdb would give an EOF when the entire drive's contents had > been read. Was this a false assumption? Is Cygwin _supposed_ to return an > EOF when you reach the end of a device volume, and it (or dd) is broken, or > has this never been implemented? Have you tried it on Linux, for comparison? If anything, it is cygwin and not dd that is at fault here (your analysis about dd stopping at EOF is correct), although I don't know if Windows provides enough hooks for cygwin to detect end of disk to turn that into EOF. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net volunteer cygwin coreutils maintainer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDM1Je84KuGfSFAYARAjOlAKCDXtiNclGA4ZUyXuqtPogHfeR1qwCeKkvM 5YmJMfHE6ufufwCxDLg9E0g= =LMV3 -----END PGP SIGNATURE----- -- 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 |