Hi Mathias,

> E.g. I cannot create a disk image with
>
>   dd if=a: of=disk_image.bin bs=1k count=1440
>
> So you're right! Why not use cygwin's BASH or the MSYS shell?

And of course, the MSYS shell is also `bash', but typically called
`sh.exe', so it runs in POSIX compatibility mode.  I use both MSYS
and Cygwin -- IMO, Cygwin is more capable, but, for those tasks
which MSYS can handle, I find it is generally quicker.

For your `dd' command, I would normally do this sort of thing on a
Linux box -- the disk image is easily placed on a MS-Windows file
system, if you so require, either across a network, or direct to a
locally mounted FAT-32 partition.

MSYS doesn't provide a `dd' implementation.  Cygwin does, but I
can't seem to get it to copy floppy disk images -- it gripes that
`a:' is a directory, and bails out :-( -- does anyone out there
know how to access Win32 block devices as files under Cygwin?

A number of years ago, I started to write a `dd' implementation for
native MS-DOS, but IIRC, I abandoned it unfinished, when I migrated
to Linux for all my home computing.  Maybe one day, when I have
nothing better to do -- some chance ;-) -- I may look at it again.

Best regards,
Keith.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to