When did Apple deprecate or stop publishing the APIs for using named forks, the forks other than the data and resource fork?
Asked Answered
I

1

6

Back in the day, one of the Quirks of the Macintosh OS was that files had two "forks", a "resource fork" which held resources used by software through dedicated resource APIs, and a "data fork", which held the plain old data like on other systems, including binary code, text in plain text files, etc.

A little-known feature of HFS+, introduced with Mac OS 8.1 in 1998, is that you can have any number of named forks of any file. Similar to the also little-known feature of NTFS called "ADS" (Alternate Data Streams).

From Wikipedia:

HFS Plus permits filenames up to 255 characters in length, and n-forked files similar to NTFS, though until 2005 almost no system software took advantage of forks other than the data fork and resource fork

Apple doesn't seem to document the APIs for making use of those extra forks any longer.

Do we know if and when Apple officially deprecated the feature? If not, do we know when the APIs vanished from the documentation.

Instinct answered 10/5, 2020 at 8:32 Comment(1)
P
6

Back in the day, one of the Quirks of the Macintosh OS was that files had two "forks",

Quirk? Rather a well known feature.

Similar to the also little-known feature of NTFS called "ADS" (Alternate Data Streams).

It was a great way to organize Data.

Apple doesn't seem to document the APIs for making use of those extra forks any longer.

They are well documented in according Manuals - even online like here. Ofc, there is no reason to go into them since they are deprecated since 10.9 (Mavericks)

Do we know if and when Apple officially deprecated the feature?

Yes, they did, and the moment in time was October 2013 when OSX 10.9 was released.

If not, do we know when the APIs vanished from the documentation.

Still there today ... at least when looking in the appropriate API documentation for any Mac OS between 1999 (MacOS 8) and 2013.

Always look at the API for the Version used. Actual OSX does no longer encurrage its use, so not to be found there.

Philippians answered 10/5, 2020 at 10:11 Comment(5)
Man I hunted for those docs, or even the names of the APIs several time over the years and even asked on the apple SE and SO and almost nobody knew what I was talking about. But I'm totally happy for the question to be moved over to SO. Out of interest, I wonder what actually would be a little known feature of macos if this one is rather well known.Instinct
Well, I guess it depends on personal interest. Hunting for such stuff like alternate data streams are what I do whenever I get hold of a new manual :)) So in my case little known feature would be maybe stuff about ... err ... printf() ?Philippians
"Quirk" in the sense that the file systems of most other computer systems (and I'm not saying that there weren't some other quirky ones out there) did not have that particular complication.Fatherless
"Rather a well known feature" - feature?! I consider it a bug, one of the least desirable notes of the original Mac OS.Warr
@MauryMarkowitz: Named forks were not in the original Mac OS. They were introduced with 8.1 in 1998.Instinct

© 2022 - 2024 — McMap. All rights reserved.