This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Anyone know about interaction of 'dd' with memory cards?


-----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@byu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]