| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <39BFA889.4ECC07E2@veritas.com> |
| Date: | Wed, 13 Sep 2000 09:17:13 -0700 |
| From: | Bob McGowan <rmcgowan AT veritas DOT com> |
| Organization: | VERITAS Software |
| X-Mailer: | Mozilla 4.73 [en] (WinNT; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | ulists AT iname DOT com |
| CC: | cygwin list <cygwin AT sources DOT redhat DOT com> |
| Subject: | Re: dd if=/cygdrive/a of=foo.img doesn't work |
| References: | <000913093111C2 DOT 21827 AT weba8 DOT iname DOT net> |
ulists AT iname DOT com wrote: > > I would like to make a low copy of a > 1.44 disk and I have only a NTworkstation > on my hand. so I installed gnu tools from > cygwin and I taped > dd if=/cygdrive/a of=foo.img > but I got this: > dd: /cygdrive/a: Invalid argument > > then I tried > cat /cygdrive/a >foo.img > > with the same err: > cat: /cygdrive/a: Invalid argument > > Why it doesn't work ? What can I do for a low copy ? First, you need access to the Windows physical device, second it needs to be mounted: mount -b //./a: /dev/fd0 then: dd if=/dev/fd0 of=file I'm not sure if the -b option of mount is required, I use it to be safe. I also use -s with mount to make it a system wide mount so other users (if any) will see it also. And I tend to use the dd option bs=18k which will do track at a time read/write of a 1.44MB floppy (80 tracks). This makes a difference on standard UNIX systems. I don't know if it impacts performance for Cygwin. I should mention that I just did this yesterday to write some floppy images to a floppy disk, so it should work for you. -- Bob McGowan Staff Software Quality Engineer VERITAS Software rmcgowan AT veritas DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |