> He indicated he was working on Mac OS, which uses a file system with
> embedded resource forks, rather than having them stored out-of-file.

Last time I looked at the macintosh filesystem (which, admittedly was a long 
time ago) the HFS stores files in two "forks", a data fork (containing the 
bag-o-bits of the file) and a resource fork, containing the same style 
resources as a Palm program.  The file reference that applications use is 
actually the bag-o-bits, with the system handling the requests for resources 
seamlessly.  The resources -are- stored in a seperate file, as can be seen 
with a byte editor, in a hidden directory in each directory on disk.  It's 
hidden in a much more effective way than DOS's hidden bit - the OS itself 
masking certain directories and files from the view of everything.  Another 
example of this is the desktop - it's a folder in your bootup drive.

Of course, all of this changes after OS 9, or not, I'm not sure.  I had a long 
time ago a program to view the true contents of an HFS partition, and it 
showed me resource.frk entries.  But the end result is the same - the 
resources "appear" to be in the same file as the data.  If your backup 
program doesn't know about these special files, you'll loose all the 
resources in the system.  You wouldn't be able to even boot that way.  
Selective data loss is an odd problem...

-- 
Matthew (Darkstorm) Bevan       [EMAIL PROTECTED]
Margin Software, NECTI.         http://www.marginsoftware.com
        Re-inventing the wheel, every time.

 - What this world needs is a good five-dollar plasma weapon.


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to