home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aux
- Path: sparky!uunet!spool.mu.edu!agate!ames!nsisrv!jagubox!jim
- From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
- Subject: Re: Yet more about 'tc' (blocking issues)
- Message-ID: <1241@jagubox.gsfc.nasa.gov>
- Lines: 51
- 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>
- Date: Thu, 12 Nov 1992 12:35:42 GMT
-
- tody@noao.edu (Doug Tody) writes:
-
- >The 8k limitation is a minor nusiance for A/UX-only usage, e.g., file backups,
- >but is a MAJOR problem if the tape drive is to be used to transfer data to or
- >from an external, non-A/UX system.
-
- >A variable record size is preferred over a fixed block size since for some
- >tape formats the record size may have some meaning, and since variable size
- >records cause fewer transport problems. If fixed size blocks are used, one
- >system may use, e.g., 1k blocks and the other 8k blocks, and it may not be
- >possible to read the tape.
-
- I've seen most drivers use fixed block and not variable. Unless, of course,
- they're driving 9-track... The most common form of tape drivers are those
- that implement blocks via a raw device. This allows sequential and indexed
- I/O. Of course, this means that you need to have fixed block sizes.
-
- >Cartridge drives support only fixed size blocks, but DAT and Exabyte are
- >capable of a variable record size mode as well as a fixed block mode
- >(variable record size mode is enabled by setting the device block size to 1
- >byte; in variable record mode each read returns one record).
-
- Actually, you must set the Block Length parameter in Mode Select to 0.
- Some also require a bit to be set. Some (such as the Sony DAT) also
- require a Fixed Bit Field be set in READ and WRITE...
-
- I believe the "default" for these drives is fixed length though...
-
- > 9 track reel
- >tape drives support only variable size records. For DAT and Exabyte a good
- >driver will provide different device entries for fixed block mode i/o and
- >variable size record i/o, so that the user can decide which to use. If the
- >device is capable of compression, there should be different device entries
- >for compression mode and non-compression mode as well.
-
- Ahhh infinite resources would definately help make this so... How about
- a driver that also plays a little trumpet fanfare when it ejects a tape? :)
-
- Seriously though, variable block sizes would be a good addition and
- most probably will be added to 'tc' after a while. The trick is getting
- all the information about it to implement it. Until then, it is possible
- to filter the output to the tapes on the Suns thru a little application
- that'll block output at 8k (or the tape'd physical block size)? Or is it
- too much to expect Suns to "compromise" but Apples have to??
-
- Cheers!
- --
- 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
-