3 ms·
“Classic MacOS used Resource Forks. That's where file type was stored instead of using extensions.” That’s incorrect. File type and creator were stored in the
by Someone 6y ago
“Classic MacOS used Resource Forks. That's where file type was stored instead of using extensions.”
That’s incorrect. File type and creator were stored in the file system, not inside files.
“I believe icons were stored there”
Icons typically were stored in resource forks, but not in the way I think you imply. Applications defined mappings from (type,creator) to icon in their resource forks (which also stored lots of other stuff, including application code). The Finder merged all the mappings needed in the desktop database (each disk had one, stored at the top level of the disk)
The icons couldn’t be read from each file because opening each file would slow down the Finder (it was slow enough to start with) and, I guess, it would take way too much disk space (a single 32×32 black and white icon with mask is a whopping 256 bytes. Overhead probably made that a kilobyte on disk. That adds up on a 400kB disk)