home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / tools / workbench / xfs / xfs.readme < prev   
Encoding:
Text File  |  1998-06-16  |  6.7 KB  |  179 lines

  1. Short: V2.15 Multi filesys+.device, win95+mac++
  2. Uploader: msw@blackpool.ac.uk
  3. Author: frans (francis swift)
  4. Type: disk/misc
  5. Replaces: xfs.lha
  6.  
  7. XFileSystem Version 2.15
  8.  
  9. Consisting of xfsd (a disk handler for your L: directory)
  10. and fd.device / file.device (for your devs: directory),
  11. and either mountlist.xfsd (for your devs: directory on WB2)
  12. or FD0 etc (for your devs:DOSDrivers directory on WB3).
  13.  
  14. Current xfsd status:
  15.  
  16.               readdir  read  write delete rename readpartition format
  17. amiga           +       +      +     +      +          +
  18. msdos / win95   +       +      +     +      +          +
  19. mac             +       +                              +
  20. ql              +       +      +     +      +
  21. minix           +       +      +     +      +
  22. archimedes      +       +
  23. cpm             +       +
  24. 1541 / 1581     +       +
  25. spectrum        +       +
  26.  
  27. Current fd.device status (*new):
  28.  
  29.                     read   write  format
  30. Amiga tracks          +      +      +
  31. Diskspare 80/82* trk  +      *      *
  32. mfm (pc etc)          +      +      +
  33.  
  34. Current file.device status:
  35.  
  36.                       read   write  format
  37. flat files              +      +
  38. dms files               +
  39. pctask/janus hardfiles  +      +
  40.  
  41. As you can see, there is currently no way to format disks, that
  42. is write new filesystem info onto them. In fact, most of the code
  43. to format disks on filesystems marked above as writeable exists,
  44. it's just there's no way to select it at the moment.
  45.  
  46. From release V2.15, fd.device can be used to format disks,
  47. that is, write out new tracks, so if you have a disk image file
  48. you can write it out via DEV:fd.device to create a new disk.
  49.  
  50. See the xfs.guide 'usage' section for further info.
  51.  
  52. --------------------------- xfs215 ------------------------------
  53.  
  54. Added support for 1581 disks (read only at present). These disks
  55. sometimes have what are loosely referred to as 'partitions', really
  56. fixed length directories. These are accessed just like directories.
  57.  
  58. You can now use fd.device to 'format' disks. That is, you can use
  59. the DEV:fd.device,<unit>,<flags> pseudo file to write out disk
  60. images of a particular format. So if you have a blank disk, read
  61. it in using
  62.  
  63.    copy DEV:fd.device,0 ram:temp
  64.  
  65. This will copy whatever disk is in drive 0 into file 'ram:temp'.
  66. You can then write it out again using, for instance
  67.  
  68.    copy ram:temp DEV:fd.device,0,880  ; if it is an amiga disk
  69.    copy ram:temp DEV:fd.device,0,720  ; for a pc / ql / minix disk
  70.  
  71. etc. See further explanations in 'usage > fd.device' in the guide.
  72.  
  73. To match up with the above, devd (the DEV: handler) has been
  74. slightly amended, as has the devio utility. You will also find
  75. a later version of the XL friendly fd.device in devs/storage.
  76.  
  77. While rewriting fd.device I took some time to examine the way
  78. diskspare.device generated checksums (which was the reason for
  79. fd.device not being able to write to these disks properly). I
  80. also implemented an additional track scan to determine whether
  81. a disk has more than 80 tracks. So now there should be full
  82. support for all the different diskspare permutations. There is
  83. also a new version of the mfm utility (for use with rawpatch)
  84. to allow track checksum verification.
  85.  
  86. --------------------------- xfs214 ------------------------------
  87.  
  88. Completed MINIX handler. Of course there may be some hidden bugs
  89. so it should be considered just a beta version for now.
  90.  
  91. Patched disk type into dl_DiskType. Only reason it hadn't been
  92. done till now was I thought I'd already done it. So now you will
  93. get sensible results from Stephan Rupprecht's Info program.
  94. Anyway, it gives me an excuse to explain the disk types that
  95. are returned.
  96.  
  97. Amiga       DOS\0
  98.             DOS\1    FFS
  99.             DOS\2    Int
  100.             DOS\3    Int FFS
  101.             DOS\4    DC
  102.             DOS\5    DC FFS
  103.  
  104. MSDOS/W95   MSD\0
  105.  
  106. MAC         MAC\0
  107.  
  108. Minix       MNX\1    (and later maybe MNX\2)
  109.  
  110. QL          QL5A      720k (and ED disks)
  111.             QL5B     1440k
  112.  
  113. Spectrum    ZXS\0    Disciple
  114.             ZXS\1    UniDos
  115.             ZXS\2    SamDos
  116.             ZXS\4    Opus (180k)
  117.  
  118. Archimedes  ARMD
  119.             ARME
  120.  
  121. CP/M        CPM\2    (and later ZXS\3 for Plus3Dos)
  122.  
  123. C64         1541     (and later 1581)
  124.  
  125. These will (eventually, NOT YET) be the dos types passed to the
  126. Format() command to select the file system.
  127.  
  128. Also, the file.device has been updated to allow it to work better
  129. with devd (DEV:) so that you get the chance to select a file
  130. before the DEV: device asks if there's a disk (file) in the 'drive'.
  131.  
  132. Now that I have some 1581 disks to experiment with I should be
  133. able to add handling of these to xfs. Since these disks use
  134. side skewing (quick explanation - the top is on the bottom), I
  135. will need to modify fd.device to accept this format. Also, although
  136. the physical sectors are 512 bytes, the logical sectors are only
  137. 256 bytes, which will make sector allocation complicated, so
  138. for the moment support will be read only.
  139.  
  140. Finally I tidied up some clean-up routines so some random crashes
  141. on removal of disks should disappear.
  142.  
  143. --------------------------- xfs213 ------------------------------
  144.  
  145. Added a couple of extra disk types to existing handler modules,
  146. specifically Archimedes D type disks, and Spectrum 180k (Opus
  147. Discovery) type disks. Note that both use unusual sector sizes,
  148. the Archimedes D using 1024 byte sectors, and the Spectrum 180k
  149. disks using 256 byte sectors (it's also 40 track single sided!).
  150. Luckily fd.device sorts all this out transparently.
  151.  
  152. One more technical point. Whenever a disk is recognised by xfsd
  153. the disk dos type is now written into de_DosType in the environment
  154. table of the device entry in the dos list. This is to allow
  155. anyone using the Info() call (which xfsd implements like most
  156. handlers by returning ID_DOS_DISK in id_DiskType for disks it
  157. recognises) to access the true disk type.
  158.  
  159. Updated crc utility to fix a slight bug.
  160.  
  161. There's a slight change to the flags setting in the mountlists,
  162. which should be backwards compatible, see mount.xfsd.
  163.  
  164. Up till this release it was possible to open directories as if
  165. they were files. This was a side effect of the internal
  166. implementation which took advantage of the file-like structure
  167. of directories in certain filesystems (QDOS,MSDOS,RISCOS etc).
  168. I left this in so it would be possible to write external
  169. utilities to access filesystem-specific information that would
  170. otherwise be inaccessible via xfsd. Unfortunately, there are
  171. too many badly written programs out there that, when given no
  172. file name on the command line, open the empty string by mistake.
  173. Of course, this means the current directory, so they get a
  174. 'wrong type' error. With xfsd, they would get no error, and
  175. depending on the way the filesystem sets the file size for the
  176. directory, may try to read the whole disk into memory, or 4GB,
  177. or any random number. Anyway I've disallowed this again.
  178.  
  179.