Mr Fahrenheit
Experienced Member
I learned a lot from the Optisys Optidisc software reverse-engineering (PC only). A sector can have two states-written or unwritten. So when you're updating a WORM drive, you pre-allocate areas on the disc, including space for any allocation tables, search for the first unwritten sector and write the new copy of the allocation map there. Same for directories--multiple copies. It's very strange, but probably the best way to handle the issue. All of this means that you need special drivers and software to deal with a WORM, unless it's all written at once, like a CD-R.
Allocation tables, directories, file areas, of course, can have overflow areas allocated.
The WORM optical media that I dealt with was scarcely faster than a floppy disk in terms of access time, which meant that updating was slow--and if an update failed because of hardware error, the only real option was to trash the disc and start over--I ran into a few of those.
Of course, this being WORM, means that regressing updates is easy--nothing ever goes away.
I mostly think of ADIC as marketing tape drives and software. I think I still have an old ADIC quarter-inch drive here; takes DC300-sized Iotamat format cartridges. Uses a MC6800 as a controller. ADIC was big in backup solutions, particularly for the financial sector.
I think something akin to packet writing for CDR media will apply to the WORM discs. Back in the day, a system extension (like a DOS TSR) allowed the drive to function as a read/write device. It appeared no different than a floppy disk or hard disk, in that it was writable from the Finder, and showed available free space. Deleting a file simply marked the file deleted by the file system, and it re-wrote the contents of the directory each time. So if you wrote a 100Kb file, it had to update the file system, so larger than 100Kb was written. When you deleted that same file, you didn't gain the 100+Kb and in fact, you lost more space, because the directory was re-written again.
I would expect a WORM on the Macintosh to operate this same way. Again, thanks for pointing me in the direction of MacinStor and related products. I think that may be the answer, or at least help to point us in the right direction. When I receive my media in the mail, I'll be able to confirm more. The fact that this information isn't easily available or searchable on the internet disturbs me, and I hope that posting about in forums allows people in the future to find the answers they need.