home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6808 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!boulder!caesar!drew
  3. From: drew@caesar.cs.colorado.edu (Drew Eckhardt)
  4. Subject: Re: QIC-36 tape drive with an Emulex QIC-36-> SCSI board
  5. Message-ID: <1992Jul27.225711.28391@colorado.edu>
  6. Sender: news@colorado.edu (The Daily Planet)
  7. Nntp-Posting-Host: caesar.cs.colorado.edu
  8. Organization: University of Colorado at Boulder
  9. References: <Bs2F2G.L9r@news.cso.uiuc.edu>
  10. Date: Mon, 27 Jul 1992 22:57:11 GMT
  11. Lines: 23
  12.  
  13. In article <Bs2F2G.L9r@news.cso.uiuc.edu> ral45184@uxa.cso.uiuc.edu (sPiNdRy ) writes:
  14. >
  15. >    is this a usable idea?  will this work?  Or will drivers have to be
  16. >  written anyhow?
  17.  
  18. Drivers have to be written.
  19.  
  20. Tape drivers are character devices, because 
  21. 1.  You want writes to go to the tape, in sequential order
  22. 2.  You need variable block sizes to accomodate what the 
  23.     tape drive needs physically.
  24.  
  25. Now, with a character device, you need to transfer data to/from user 
  26. space.  This may be non-contigous in physical memory, which means 
  27. you need either an intermediate buffer (You want to increase kernel
  28. memory enough to accomodate the largest tape block?  I've used
  29. 100k block sizes before), or for the device driver to support scatter /
  30. gather.
  31.  
  32. Problem : the current SCSI drivers do not support scatter / gather.  This
  33. is being rectified in the rewrite.  After the rewrite is done, it should
  34. be possible to write a decent SCSI tape driver.
  35.  
  36.