home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 2724 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.3 KB  |  36 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!nntp.uio.no!bootes.sds.no!toreh
  3. From: toreh@bootes.sds.no (Tore Haraldsen)
  4. Subject: 386BSD & SCSI - Multiple file tapes
  5. Message-ID: <1992Jul23.130323.4617@ulrik.uio.no>
  6. Sender: news@ulrik.uio.no (Mr News)
  7. Nntp-Posting-Host: 192.68.77.217
  8. Organization: Statens Datasentral A/S, SDS, Norway
  9. References: <1992Jul23.125510.4250@ulrik.uio.no>
  10. Date: Thu, 23 Jul 1992 13:03:23 GMT
  11. Lines: 23
  12.  
  13. It IS possible to read multiple file tapes, if you do the following
  14. modifications to i386/isa/as.c:
  15.  
  16. 1) Change the definition of dev_rewind macro to use a mask outside the
  17.    other fields used by the scsi driver. Using the partition field for
  18.    no-rewind flags will not work, due to imprecise coding elsewhere in
  19.    the driver. Use 0100 for instance. Make a new kernel.
  20.  
  21. 2) Create a device with this capability:
  22.         mknod /dev/nras2a c 13 80
  23.  
  24.    The last number, 80 = 16 (=minor device number for as2) + 64
  25.    (decimal representation of 0100).
  26.  
  27. 3) When using the tape device for the first time, do some sort of dummy
  28.    access to it: tar a cpio tape or vice versa. There seems to be some
  29.    sort of race condition otherwise that will otherwise give you the
  30.    unwanted rewind.
  31.  
  32. 4) Good luck. This is just a hack, somebody compentent will have to
  33.    rewrite the whole damn thing...
  34.  
  35. -- Tore Haraldsen
  36.