home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 839 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: grafix.xs4all.nl!john.hendrikx
  2. Date: Fri, 12 Jan 96 00:30:03 GMT+1
  3. Newsgroups: comp.sys.amiga.programmer
  4. Distribution: world
  5. Subject: Re: Protection bits
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
  10. Message-ID: <john.hendrikx.45js@grafix.xs4all.nl>
  11. Organization: Grafix Attack BBS Holland
  12.  
  13. In a message of 09 Jan 96 Michael Van Elst wrote to All:
  14.  
  15.  >> Maybe the filesystem could be extended with somekind of hook which sets
  16.  >> the file-type correctly by looking at the first 512-bytes of the file when
  17.  >> it is first written/modified.
  18.  
  19.  MVE> I think that's pretty meaningless. It would help only for searching a
  20.  MVE> disk for files of a specific type and it would generate the bloat and
  21.  MVE> incompatibility of the Mac filesystem.
  22.  
  23. Bloat, Incompatibility, how so?  It is only 1 LONG, and programs should only
  24. rely on the contents of this LONG if it is non-zero.  Any filesystem supporting
  25. this system would automatically 'set' the LONG to the correct value as soon as
  26. the file is copied onto the harddisk, so transferring files from one computer
  27. to another would not require any extra info to be transferred.
  28.  
  29. I don't see what's so bloated or incompatible.
  30.  
  31.  MVE> If you really want fast redundant information (a cache so to say) then
  32.  MVE> use a cache which can be an ordinary file.
  33.  
  34. This would take memory instead of 4-bytes of diskspace/file (which you probably
  35. won't notice as there probably is 4-bytes of free space left in the fileheader
  36. somewhere).
  37.  
  38. With ExAll() you could create a Hook which filters out all unwanted files when
  39. displaying dirs, much faster then having to load the first X bytes of each
  40. file.
  41.  
  42.  >> This would make doing a directory with FileID's and with only IFF files
  43.  >> in them really fast, like on the MAC's
  44.  
  45.  MVE> Like what ? :)
  46.  
  47. MAC's? :-)
  48.  
  49. Grtz John
  50.  
  51. -----------------------------------------------------------------------
  52.  John.Hendrikx@grafix.xs4all.nl   TextDemo/FastView/Etc... development
  53. -----------------------------------------------------------------------
  54. -- Via Xenolink 1.981, XenolinkUUCP 1.1
  55.