This is the mail archive of the cygwin@cygwin.com 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]

dd command is not working properly


Hello:
I´m trying to obtain an info-image from a flash card,
so from Win98 I´ve right installed the USB flash
reader, and if I insert a FAT(16/32) file system
flash, I can read them without problem from Win and
from Cygwin.
The problem here is that I want to obtain the
data-image from a propietary file system flash card to
clone another one.
For me there it will be not problem if I use dd
command taking the input file from a binmode mounted
drive (on Win F: drive)

$ 
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
\\.\F: on /dev/f type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
e: on /cygdrive/e type user (binmode,noumount)
$ pwd
/dev
$ ls -l
total 0
brw-rw-rw-??? 1 admin??? all?????? 17, 229 Oct? 1
11:57 f

... until here all seems ok, but if try dd, next
appears
$ dd if=/dev/f of=/home/admin/flashcard.img
dd: opening `/dev/f': No such file or directory or
permission denied
$ cd /dev
$ ls -l
total 0
brw-rw-rw-??? 1 admin??? all?????? 17, 229 Oct? 1
13:14 f

... but I´m not so sure, if my dd command is working
ok, because If I mounted another device, and try to
copy them always have 0 records in/out, like as...
$ dd if=/cygdrive/e of=/home/admin/cdrom.img
dd: reading `/cygdrive/e': Is a directory
0+0 records in
0+0 records out

I´m using:
bash???????????????? 2.05b-15 ver.
cygwin?????????????? 1.5.5-1 ver.

Someone know about a dd patch or diferent procedure to
solve this?

José Carlos:)
?


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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