Mail Archives: djgpp/2000/08/11/13:23:53
> Date: Fri, 11 Aug 2000 10:28:48 +0200
> From: Thomas Strathmann <thomas-st AT gmx DOT de>
>
> I would like to use dd just as I would do in Linux or another UNIX
> to raw-copy disks. But in DOS there is not a single device file.
> What can I do?
You need to access such floppies on the BIOS level, since they lack
the DOS filesystem (the FAT, the root directory, etc.).
An example of such an access can be found in the sources of the DJTAR
utility (in djlsr203.zip), since DJTAR can read tar archives written
on floppieson Unix systems.
I wrote once a bunch of functions that used the DJGPP Filesystem
Extension feature to redirect normal DOS file I/O to BIOS functions,
and built a version of `dd' with those functions. If you are
interested, I can dust off that code and send it to you.
- Raw text -