home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / apple2 / 24420 < prev    next >
Encoding:
Internet Message Format  |  1992-11-24  |  1.7 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!data.nas.nasa.gov!taligent!apple!dlyons
  2. From: dlyons@Apple.COM (David A Lyons)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: More Sparse Files.
  5. Message-ID: <74634@apple.apple.COM>
  6. Date: 24 Nov 92 04:17:19 GMT
  7. References: <1992Nov20.043714.28585@fawlty.towers.oz.au>
  8. Organization: Apple Computer Inc., Cupertino, CA
  9. Lines: 33
  10.  
  11. In article <1992Nov20.043714.28585@fawlty.towers.oz.au> johnmac@fawlty.towers.oz.au (John MacLean) writes:
  12. >[...]
  13. >1) I need an existing commonly available commercial program that runs on
  14. >a //e (such as Copy II Plus), that can create a disk image on a hard disk
  15. >(or 3.5" disk) of a 5.25" disk.
  16.  
  17. There's something on the Apple CDs called "5.25 disk holder"...the title
  18. screen reads:
  19.                    ProDOS Packer 6.0 By R.Banning
  20.                       Enhanced By Morgan Davis
  21.  
  22. I don't know whether it is commercial, public domain, or somehwere in
  23. between, or by what arrangement it is on the CDs.  It runs under
  24. BASIC.System.
  25.  
  26. >3) Is there a way, to force GS/OS with the ProDOS FST ONLY, to create
  27. >files as non-sparse, even though the file contains large areas of zero
  28. >bytes? - and if so how?
  29.  
  30. I think there's *one* way:  On the CreateGS call, provide values in the
  31. eof and/or resource_eof fields.  This amount of space will be pre-allocated
  32. during the create, even though it is initially all zeroes.  I don't know
  33. whether you have to avoid rewriting zeroes to keep the non-sparseness.
  34.  
  35. (If you copy the file to a ProDOS disk using GS/OS, it will of course
  36. become sparse.)
  37.  
  38. -- 
  39. David A. Lyons, Apple Computer, Inc.      |   DAL Systems
  40. Apple II System Software Engineer         |   P.O. Box 875
  41. Internet:dlyons@apple.com                 |   Cupertino, CA 95015-0875
  42.  
  43. My opinions are my own, not Apple's.
  44.