home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / hardware / 20146 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  2.9 KB

  1. Xref: sparky comp.sys.amiga.hardware:20146 comp.sys.amiga.misc:17322
  2. Path: sparky!uunet!pipex!bnr.co.uk!stl!crosfield!jc
  3. From: jc@crosfield.co.uk (jerry cullingford)
  4. Newsgroups: comp.sys.amiga.hardware,comp.sys.amiga.misc
  5. Subject: Re: Is it possible to use a SCSI WORM drive on an Amiga???
  6. Keywords: WORM worm scsi drive hardware question
  7. Message-ID: <15671@suns7.crosfield.co.uk>
  8. Date: 23 Nov 92 14:12:58 GMT
  9. References: <storch.721615293@pertsserver.cs.uiuc.edu>
  10. Organization: Crosfield Electronics, Hemel Hempstead, United Kingdom.
  11. Lines: 48
  12.  
  13. In article <storch.721615293@pertsserver.cs.uiuc.edu> storch@pertsserver.cs.uiuc.edu (Matthew Storch) writes:
  14. >Does anyone know if it is possible to use a SCSI WORM drive on an Amiga
  15. >
  16. >It would seem to me that special support would be needed to make the
  17. >drive look like a regular hard drive ("deleting" files by hiding them,
  18. >etc.).  But if all I do is copy stuff to the drive and then just read it,
  19. >might it work without any special support, since after all it IS a 
  20. >block-oriented SCSI device?
  21.  
  22. Probably not. The key problem with WORM drives, is that you can only write
  23. each block once.. or, more precisely, that you can't unset a bit once you
  24. set it.
  25.  
  26. Most normal file systems write to the directory when a file is created,
  27. and either park the directory at a known position, or store a pointer
  28. to the directory in a known position. This is likely to cause severe
  29. problems with a WORM device, when you try to modify the directory.
  30. (for example, when you copy the next file on).
  31.  
  32. I assume file systems designed for WORM drives have some sort of
  33. "directory obsolete"/"where to find newer version of directory" fields
  34. which are left blank initially, and written into with a pointer to the
  35. new directory, when the directory changes.. so it can just chase down
  36. the links until it finds the latest version. (or the desired earlier one,
  37. if it wants to let you access earlier versions too).
  38.  
  39. I'm afraid you'd need a special driver to use a WORM drive as a disc.
  40.  
  41. (The only way you'd get away without one would be if the the WORM drive
  42. held a logical->physical block mapping in an internal format on the disc,
  43. and updated it whenever you wrote a block to the disk... although that
  44. could still be extremely wasteful if the directory was updated every time
  45. a write was performed to an open file..)
  46.  
  47. You _might_ have more success trying to use it like a big _tape_ drive,
  48. if you can find some backup software that (a) handles multiple backups
  49. on a single tape, and (b) doesn't try to overwrite end markers.. and
  50. (c) doesn't use any tape specific commands talking to the drive.
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57. -- 
  58. +------------------------------------------------------------------+     |
  59. | Jerry Cullingford  #include <std.disclaimer> +44 442 230000 x3868|   ,-|--
  60. | jc@crosfield.co.uk (jc@cel.uucp) or jc@selune.demon.co.uk        |   \_|__
  61. +-----(Work)---------------------------------(home)----------------+ \___/
  62.