Mac OS X Specific Weirdness
OS X is a hybrid between classic Mac OS and Unix, so there are some peculiarities unique to OS X.
Resource forks
The first weirdness is resource forks, the additional stream that files have which store structured data. At the file system level, forks are really just two files that happen to share a name. Until Mac OS X 10.4, the Unix command-line utilities did not know resource forks were there, so it was possible for the resource fork to get lost or corrupted. cp and tar, for instance, did not preserve the fork.
In the command-line environment, you cannot really see the resource fork unless you append /..namedfork/rsrc to the name of the file. For example, the outline processor that we used to outline the first edition ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access