home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / apple2 / 20025 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  2.0 KB

  1. 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
  2. From: mattd@apple.com (Matt Deatherage)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: Prodos init on the Mac
  5. Message-ID: <mattd-080992115712@city-lights.apple.com>
  6. Date: 8 Sep 92 18:57:22 GMT
  7. References: <1992Sep3.215641.26085@cs.aukuni.ac.nz>
  8. Sender: news@gallant.apple.com
  9. Followup-To: comp.sys.apple2
  10. Organization: Developer Technical Support, Apple Computer, Inc.
  11. Lines: 28
  12.  
  13. In article <1992Sep3.215641.26085@cs.aukuni.ac.nz>,
  14. robert-s@cs.aukuni.ac.nz (Robert Sheehan ) wrote:
  15. > when I write anything, even text
  16. > only files and then read them on my //c at home they are forked files
  17. > and poor Prodos 8 just gives up.
  18. > How do I write to a Prodos disk from my Mac with this extension and
  19. > have normal Prodos files?
  20. The ProDOS FSM has to keep all files the same as they are on the Macintosh,
  21. so that when you copy them back and forth you don't lose anything.  Since
  22. _all_ HFS files have resource forks (even if they're empty), it either has
  23. to create ProDOS files with resource forks or be prepared to transmogrify
  24. them if something gets written to the resource fork.
  25.  
  26. The strategy it chooses is pretty efficient -- it creates resource forks
  27. for all files unless the creator is 'pdos'.  That's the creator type used
  28. to indicate the file is intended for an Apple II (like 'mdos' is for
  29. MS-DOS), and files with creator 'pdos' don't get ProDOS resource forks
  30. until someone actually writes to the resource fork.  All other files are
  31. always treated as two-fork files.
  32.  
  33. ============================================================================
  34. Matt Deatherage, Developer Support Center, Apple Computer, Inc.
  35. Personal mail only -- please POST technical questions, questions about
  36. Apple and its policies, where to find documents and related inquiries.
  37. The opinions I express don't represent Apple, which makes us both happy.
  38. ============================================================================
  39.