Re: Why no work on rsync?
Re: Why no work on rsync?
- Subject: Re: Why no work on rsync?
- From: Andrew White <email@hidden>
- Date: Wed, 08 Mar 2006 09:33:44 +1100
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.
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.
--
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden