[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] dd - access to block device



Hello!

Sometimes drive letters do work (mkfs, chkfs, fdisk?)

Yes, because these tools are linked against the libIO that overwrite
open/write/seek and such things that catch these drive letters and go over
XHDI for raw access.

didn't know about libIO. Is it able to passthrough things that don't
look like a drive letter?

Sure, it pass through anything to original open/read/write that don't belong to the special handled drive letters.

Would it be possible to create kind of a 'rawdd' that way?

Yes, but you need to check that you cover all calls that dd use. You only need to link the library against dd, it automatically overwrite the open/read/write/seek system calls.

Just take a look into freemint/tools/IO/.


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de