home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aux
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!cs.utexas.edu!sun-barr!ames!nsisrv!jagubox!jim
- From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
- Subject: Re: Yet more about 'tc' (blocking issues)
- Message-ID: <1244@jagubox.gsfc.nasa.gov>
- Lines: 36
- Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
- Nntp-Posting-Host: jagubox.gsfc.nasa.gov
- Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
- Organization: NASA/Goddard Space Flight Center
- References: <1228@jagubox.gsfc.nasa.gov> <1992Nov11.032712.26391@noao.edu> <1241@jagubox.gsfc.nasa.gov> <1243@jagubox.gsfc.nasa.gov>
- Date: Fri, 13 Nov 1992 14:52:25 GMT
-
- jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
- >Seems that almost all drives that support variable block sizes just require
- >2 changes: a bit _clear_ in READ/WRITE and a Mode Select with Block Length
- >being set to 0.... (as far as I can tell)
-
- >Soooo... expect version 3.01 of 'tc' to be released in a little bit with...
- >Variable Block Length support on those drives that allow it. This'll
- >be implemented by using another minor device number bit (number 6 [0x40]).
- >Testing on this will be minimal before release, so I'll need others
- >to try it out and see...
-
- Well, I've been testing this and it doesn't look good... It seems that
- the SCSI Manager won't allow it to accept "wrong length" transfers
- when reading:
-
- /* The SRQ_TRUNC flag, which should be available after 2.0.1, causes
- * the SCSI manager to accept wrong-length data transfers, so we can
- * do things like read blocksizes that don't match the tape size
- * (either shorter or longer).
- *
- * Until SRQ_TRUNC gets defined in <sys/scsireq.h>, we won't be able
- * to read with a size that doesn't match the tape blocksize (i.e.
- * the user will have to know the blocksize and read it exactly).
- */
-
- Soooo even though writting goes off Okay, reading doesn't (after reading
- 1k, the SCSI Manager generates an SST_AGAIN error)...
-
- Please note that SRQ_TRUNC _isn't_ available under 3.0.
-
- So, it looks like variable block lengths for 'tc' isn't a possibility...
- --
- Jim Jagielski | "It is not I who am crazy...
- jim@jagubox.gsfc.nasa.gov | it is I who am MAD!"
- NASA/GSFC, Code 734.4 |
- Greenbelt, MD 20771 | - Ren
-