do CDs essentially not work under System 6?
I did run into one issue where I could use a sanity check: do CDs essentially not work under System 6? If I mount the HFS filesystem from an ISO as a writable volume, System 6 complains the disk is "so full that the desktop file can't be created", then prompts me to make minor repairs, then complains about the desktop file again in an endless loop. Or if I mount the filesystem as a read-only volume, System 6 complains that I need to unlock the disk so that it can create the desktop file, and when I dismiss the dialog it immediately reappears. So either way, it can't be used. The only exception I've found is Myst, which doesn't trigger this error, but every other ISO and TOAST file seems to have this problem. Under System 7 it works fine.
There you go: it allows System 6 to use System 7 desktop files.I think this is it - try this. https://macintoshgarden.org/apps/desktop-mgr-201
They're mounted as read-only HD20-type hard disks that contain the HFS filesystem from the CD. No CD-specific extensions are required.if they are mounted as true CDs, do you need the “ISO file access” extensions and all of that nonsense?
There you go: it allows System 6 to use System 7 desktop files.
I need that on my SE!Yup! Also very useful in general if you're swapping between Systems 6 and 7.
Nice! Will this work on existing hardware, or do we need to buy a new floppy emu?Awesome! I will try that extension.
They're mounted as read-only HD20-type hard disks that contain the HFS filesystem from the CD. No CD-specific extensions are required.
IIRC, formatting HFS in the OS always creates a desktop file automatically, which is why it's expected to be there.Hmm, this issue with CDs and the desktop file will be a problem for auto-generated HFS disk images of StuffIt files too. I'd intended for the auto-generated images to be ephemeral and synthesized on the fly as needed, which would mean they'll be read-only. But if System 6 insists on having a desktop file on a disk before it will mount it, that's probably not going to work. Either the auto-generated HFS image needs to already include a desktop file in System 6 format, or the image needs to be writable so that System 6 can create a desktop file. I'm not sure what System 7 does if it encounters a locked disk that doesn't have a desktop file in System 7 format - will it still mount it?
Ah very interesting. I suppose it makes sense even System 7 will format (and create a desktop file for) a floppy in a way that's System 6 compatible, since it's expected to transport that between machines. I agree with your logic, it should be possible to shrink those (at the cost of storing fewer files with fewer extents -- irrelevant here) for some more savings.As long as System 7 doesn't balk at finding a System 6 desktop file on a locked disk, that should be fine. I did some quick experiments formatting a disk under System 7, then locking it and mounting it under System 6, and also tried the reverse, and didn't get any errors in either direction.
After spending many hours in the guts of HFS and examining some disk images, I can also see opportunities for tweaking the default floppy disk image to allow for greater storage space when there's only a single file on the disk. If I'm reading this right, a standard-formatted 800K floppy will have:
1KB for boot blocks
1KB for master block record and volume bitmap
6KB reserved for the catalog file
6KB reserved for the extents overflow file
1KB for a redundant copy of the MBR plus the last sector is never used
For a 1.44MB disk, the default catalog and extents overflow files are even bigger, at 11KB each.
I think we'd only need 1KB or 1.5KB for the catalog file, and 1KB for the extents overflow file, so that's about 10KB of potential savings on an 800KB disk or 20KB savings on a 1.44MB disk. Possibly an extra 1KB if the areas for redundant MBR and the last sector can be repurposed. It's not a lot, but if it proves to be the difference between a file fitting on a floppy or not, it would be worth it.
EDIT: I also found that the Desktop file on an empty floppy is only 321 bytes but occupies 6.5KB due to something called clumping which is intended to help reduce fragmentation. I think this could be adjusted too.
In the end there's only 778.5KB available for storing user files on an 800KB floppy with the default format, but I think it could be increased to about 794KB.
Scratch that, this was due to an unrelated problem with my disk image. 400K HFS works just fine.With a 400K HFS image, I've found that Disk First Aid 7.0 complains "this is not an HFS disk", even though it certainly is an HFS disk and it seems work fine otherwise.
Extension | Creator | Type |
.sit | SITx/SIT! | SITD/SIT! |
.hqx | SITx | TEXT |
.bin | SITx/BNHQ | BINA |
.cpt | CPCT | PACT |
.txt | ttxt | TEXT |
default | ???? | ???? |