DumbDD

Snial

68000
Hi folks,

I've tried to ask about this a couple of times, with little response except for a suggestion to try FWB. However, in another post I found FWB CD Toolkit crashes with a Type 3 error. So, I thought I'd write (what I imagine to be) a fairly simple utility to do what I want: DumbDD, since as far as I can tell, Classic Mac OS disk copying apps are intelligent things that want to write HFS, MSDOS or ISO images or volumes to partitioned devices (which makes sense) it already understands. I want to write an ISO for a foreign CD image (Debian, PA-RISC as it happens) to a SCSI Hard disk.

DumbDD
.. would be super-simple. It has a File:Open.. dialog to open any file as a disk image file... your fault if you pick a non-disk image file. It has a Dump:To SCSI0 to :SCSI7 menu option to write the image to a given SCSI device as raw blocks.

I've been reading the docs about how to use the SCSI manager:



I think there are a few others I could use. The first one uses assembler and Forth, but I understand both and I'll convert it to 'C'. I don't need to write a driver.

Is this of any use to anyone?
 
“dd” for Classic Mac OS sounds like a great idea! This could help with an issue that was mentioned in a thread somewhere here around 68kmla a couple of months ago... (some versions of?) the Finder and/or OS will write a few obscure bytes to any given volume that make it difficult or impossible to get an exact binary duplicate when working "within the system". (At least, I think that was at the volume level. It _might_ have been individual files, I can't find that thread to verify.) Nobody knows what they’re for, but I can’t imagine it adversely affecting anything to bypass that activity; or you wouldn't, for example, be able to compare two optical discs for having been burned correctly.

tl,dr: This is an idea long overdue. Good thinking!
 
I drafted a small demo program yesterday in response to your first post to do what you're describing: single function, just write a file as a disk image to an arbitrary SCSI ID. Based on testing disk images worked fine. However, the limited number of small CD images I tried did not work, but I'm uncertain if it's a bug or a structural issue with MacOS partition on an .iso, I am ignorant about how those work. I'll mess around with it some more today and post if I get results.

Note what I'm writing is not a true `dd` replacement, that would include (at minimum, IMHO) byte/sector offsets, skips, and all the other super-useful stuff that makes it such a swiss army knife of a program.
 
A CD or DVD uses a different partition-map format than a hard drive, and the Mac would not be able to make sense of it unless you wrote it to something it considers to be an optical disc. I'm not sure there's any way to do that with stock software.
 
I guarantee this would be extremely useful, especially if you could make it so that it worked in reverse, it can create a raw block copy disk image of any given SCSI drive attached to the system.
 
Back
Top