Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/