2015 Macintosh Resource Forks
Macintosh file systems have an aging system called "Macintosh Resource Forks". This is a quick tutorial and explanation.
HIGH LEVEL SUMMARY: Mac resource forks are simply a flat array of bytes up to 16 MBytes long. That's it. 16 MBytes can be specified in a 24 bit number.
This is a pretty good webpage describing them:
Here is a page saying you can upload resource forks using web browsers: http://support.softartisans.com/kbview_543.aspx
Let's start with this JPEG which was created on Windows and is 17,877 bytes long:
Somehow get this onto a Macintosh (copy it onto a USB Key with Fat32 filesystem, then copy that into the Macintosh's internal hard drive). Now run a recent Photoshop. Change it, like paint a red dot on the picture, and "Save As..." JPEG onto the local Macintosh's internal hard drive. DONE! (Photoshop creates thumbnails in resource forks.) So now if you open a "Terminal" on the Macintosh and do an "ls -la@" in that folder, you should see something like this:
The file "girlFromWindows.jpg" does not have a resource fork. The "girlRsrcFork.jpg" was created by Photoshop and has a resource fork. Notice that the file size reported by the Macintosh for the file itself is only 40,232 bytes, but the resource fork is almost twice that size (83,989 bytes). The "FinderInfo" is another thing that is supported by the "Apple Double" format - it includes things like "Type" and "Creator". If you look in the Macintosh Finder, it looks like this (cannot tell they are different):
Now if you take that folder, you can copy it to a USB thumb drive formatted with the Fat32 file system. When you insert that into a Windows PC, this is what you see:
What happened is that the file that contained a resource fork was split into two parts, where the name of the resource fork is "._girlRsrcFork.jpg".
Of course, here are the files zipped up for you:
Return to Random Stuff
Return to Ski-Epic home page.