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