Re: [netatalk-admins] We're doing benchmarks (tips, tricks, help, info)


Subject: Re: [netatalk-admins] We're doing benchmarks (tips, tricks, help, info)
From: Mark Donnelly (mark@coe.missouri.edu)
Date: Sat Mar 28 1998 - 15:27:15 EST


>
> I must admit, I do not understand, what do You mean by 'translating'
> here, and why netatalk needs to do it. Could You please explain?

Sure!

Unless you have a hfs volume mounted (which is probably not the case),
UNIX doesn't actually *have* a resource fork. Netatalk emulates it with a
".AppleDouble" directory that contains an identically-named resource fork
file, but those aren't necessarily there. So, netatalk has to make it up
as it goes along sometimes. It uses the file extensions mapping in the
AppleVolumes file to provide a filetype/creator automatically. (and then
caches that to disk).

But...

Even when the .AppleDouble resource file does exist, you're talking about
at least two separate file accesses to look at one file. On the other
hand, the Mac doubtless has optimizations in the OS to speed up the way
that it access data/resource forks.

So, that's pretty well the difference.

--Mark
    "I think so Brain, but if they called them sad meals, then nobody
        would buy them."
   --Pinky



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:32:00 EST