[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FST Question



In article <1992Oct26.043508.5694@actrix.gen.nz> David.Empson@bbs.actrix.gen.nz writes:
>[...]
>Assuming the file has a resource fork, the option_list provides the
>Macintosh directory information, in the same format as it would if you
>examined the original file on the HFS disk.
>
>The fileSysID field of the option list indicates it is an HFS option list.

A small clarification:  The fileSysID field in the option list always
identifies the file system of the volume it's on.  So a file on a ProDOS
disk has a fileSysID of $0001 for ProDOS in the option list.

The ProDOS, HFS, and AppleShare FSTs all "know" that their option list
formats are [nearly] identical, so they preserve as much information as
possible.  (Except, as already noted, that ProDOS records this info only
for files with resources forks.)

["Nearly" because AppleShare has some extra info that does not apply to
the other file systems.  Folder access rights, I believe.]

-- 
David A. Lyons, Apple Computer, Inc.      |   DAL Systems
Apple II System Software Engineer         |   P.O. Box 875
Internet:dlyons@apple.com                 |   Cupertino, CA 95015-0875

My opinions are my own, not Apple's.