delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/01/14:49:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <20031001184810.73861.qmail@web11805.mail.yahoo.com>
Date: Wed, 1 Oct 2003 11:48:10 -0700 (PDT)
From: Jose Carlos Henriquez <jchenriquez AT yahoo DOT com>
Subject: dd command is not working properly
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Note-from-DJ: This may be spam

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019