>>>   UFS (don't use unless you have the hair to spare)
>
>I forgot to ask about that one previously.... Do you
>know what the deal is there? I understand that
>Classic can't deal with UFS, but what else is there
>about UFS that makes it such a pain to deal with?

This is my understanding of the issue, correct me if I'm wrong.
This came up on the Darwin-users list because someone was having an 
issue with Acrobat Reader and Mozilla reading files off a UFS volume, 
or thru a symlink.

Any Carbon app (most apps marketed as 'OS X native') may have 
problems reading data from UFS volumes.

BSD-layer apps (say, vi) will not have problems with UFS. However 
some, like tar, do not know about resource forks, so they don't work 
well on HFS+ volumes. For example, a `tar -cf /somedir - |(cd 
/otherdir; tar -xf -)` will not copy the resource forks, so the data 
in /otherdir may not be usable. There are tools like hfs_pax and 
ditto that are hfs-aware.

Cocoa apps are truely OS X native, and should be able to use data on 
volumes of either format.

An example:
The Mozilla build marked for OS X is a CFM build (Carbon). It 
accesses the filesystem via Carbon calls. The mach-o build of Mozilla 
uses code from the UNIX Mozilla versions to access the filesystem, a 
different set of system calls under OS X (BSD layer). CFM Mozilla 
will crash if started from a UFS volume. It might also have problems 
with your home directory on a UFS volume. The mach-o version of 
Mozilla can run from a UFS volume, but can't save files to HFS 
(unless that bug is fixed). Navigator (Chimera) is a Cocoa app and 
does not have problems with either.

One could argue that any app not coded to Cocoa API's is not 
'native'. Carbon is in most people's eyes a transitional set of calls 
to aid in the transition to OS X from OS 8.6+. I am aware that some 
do not consider Carbon transitional, I am not in that group.

Apple has provided several different API's to build apps on OS X, but 
the set of API's that are 'fully functional' in my opinion are Cocoa 
ones. This one of the reasons why I say OSX != UNIX, but OSX ~= UNIX.
-- 
Charles Dostale
System Administrator
Silver Oaks Communications
http://www.silveroaks.com
824 17th Street
Moline IL USA  61265
[EMAIL PROTECTED]
309-797-9898

-- 
MaX-list is sponsored by <http://lowendmac.com/> and...

    /      Buy books, CDs, videos, and more from Amazon.com     \
   / <http://www.amazon.com/exec/obidos/redirect-home/lowendmac> \

      Support Low End Mac <http://lowendmac.com/lists/support.html>

MaX-list info:          <http://lowendmac.com/linux/max.shtml>
Send list messages to:  <mailto:[EMAIL PROTECTED]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/max-list%40mail.maclaunch.com/>

Using a Macintosh? Get free email and more at Applelinks! 
<http://www.applelinks.com>

Reply via email to