home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!mumbo.apple.com!gallant.apple.com!city-lights.apple.com!user
- From: mattd@apple.com (Matt Deatherage)
- Newsgroups: comp.sys.apple2
- Subject: Re: Prodos init on the Mac
- Message-ID: <mattd-080992115712@city-lights.apple.com>
- Date: 8 Sep 92 18:57:22 GMT
- References: <1992Sep3.215641.26085@cs.aukuni.ac.nz>
- Sender: news@gallant.apple.com
- Followup-To: comp.sys.apple2
- Organization: Developer Technical Support, Apple Computer, Inc.
- Lines: 28
-
- In article <1992Sep3.215641.26085@cs.aukuni.ac.nz>,
- robert-s@cs.aukuni.ac.nz (Robert Sheehan ) wrote:
- > when I write anything, even text
- > only files and then read them on my //c at home they are forked files
- > and poor Prodos 8 just gives up.
- >
- > How do I write to a Prodos disk from my Mac with this extension and
- > have normal Prodos files?
- >
- The ProDOS FSM has to keep all files the same as they are on the Macintosh,
- so that when you copy them back and forth you don't lose anything. Since
- _all_ HFS files have resource forks (even if they're empty), it either has
- to create ProDOS files with resource forks or be prepared to transmogrify
- them if something gets written to the resource fork.
-
- The strategy it chooses is pretty efficient -- it creates resource forks
- for all files unless the creator is 'pdos'. That's the creator type used
- to indicate the file is intended for an Apple II (like 'mdos' is for
- MS-DOS), and files with creator 'pdos' don't get ProDOS resource forks
- until someone actually writes to the resource fork. All other files are
- always treated as two-fork files.
-
- ============================================================================
- Matt Deatherage, Developer Support Center, Apple Computer, Inc.
- Personal mail only -- please POST technical questions, questions about
- Apple and its policies, where to find documents and related inquiries.
- The opinions I express don't represent Apple, which makes us both happy.
- ============================================================================
-