home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / apple2 / 24337 < prev    next >
Encoding:
Text File  |  1992-11-21  |  1.6 KB  |  44 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!comp.vuw.ac.nz!actrix!David.Empson
  3. From: David.Empson@bbs.actrix.gen.nz
  4. Subject: Re: Disk Images and Sparse Files.
  5. Organization: Actrix Information Exchange
  6. Date: Sun, 22 Nov 1992 05:28:34 GMT
  7. Message-ID: <1992Nov22.052834.14753@actrix.gen.nz>
  8. References: <1992Nov19.220015.18453@fawlty.towers.oz.au>
  9. Sender: David.Empson@actrix.gen.nz (David Empson)
  10. Lines: 32
  11.  
  12. In article <1992Nov19.220015.18453@fawlty.towers.oz.au> johnmac@fawlty.towers.oz.au (John MacLean) writes:
  13. > The subject says it all. Anyway, here they are:
  14. > 1) Can Copy 2 Plus (or any other common //e program) create a file which
  15. > is a "disk image" of a 5.25" disk.
  16.  
  17. Yes, but only Copy II+ version 7.x.  They removed the feature in 8.0
  18. and later, which was a great pity.
  19.  
  20. > 2) Does the program chosen in 1) create sparse files or non-sparse files,
  21. > in cases where large numbers of sectors are zero filled.
  22.  
  23. I haven't looked closely enough, but my guess is that it wouldn't be
  24. sparse.
  25.  
  26. > 3) Whats the best way to create a non-sparse file on the GS, using the
  27. > ProDOS FST?
  28.  
  29. You can't.  Whenever the ProDOS FST sees that a block of zeros is to
  30. be written it always sparses it out.  If you write nonzero data into
  31. the block, SET_MARK back to it and write zeros, the block will be
  32. deallocated.
  33.  
  34. To convert a file to sparse using the ProDOS FST, simply copy it.  The
  35. only way to make it non-sparse again would be to use a ProDOS-8 based
  36. copy program that writes out zero blocks if the original file was
  37. sparse.
  38. -- 
  39. David Empson
  40.  
  41. Internet: David.Empson@bbs.actrix.gen.nz    EMPSON_D@kosmos.wcc.govt.nz
  42. Snail mail: P.O. Box 27-103, Wellington, New Zealand
  43.