site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Mozilla Thunderbird 0.9 (Macintosh/20041103) Peter Seebach wrote: Me, I just wish the people at Apple, way back when, had just made resource files be a Kind Of File, rather than introduced forks; sooooo much time has gone into "and then on a Mac, sometimes there's more than one file with a single name, so no existing API can read files portably". This fundamentally misrepresents the situation. -- Andrew White -------------------------------------------------------------------------- This email and any attachments may be confidential. They may contain legally privileged information or copyright material. You should not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. This notice should not be removed. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Even on Unix, a file is not a single entity. A file is an inode, plus a collection of additional file system blocks that get aggregated by the OS into a single file abstraction. Similarly, a Unix file has more than one logical part. You have the file contents and the file metadata (accessed via fstat). The same is true of resource forks. It's not "two files", it's one file with two (3 including system metadata) logical parts: one structured and one unstructured. The problem isn't the model, the problem is that it doesn't map well to Unix where a file is assumed to have one unstructured part only. It's a bit like complaining that car designers are stupid because cars are too wide for cycleways. This email sent to site_archiver@lists.apple.com