D3 configuration file tape statements

Information specific to the tape portion of the D3 configuration file, typically pick0, is discussed here.

For a complete explanation of the pick0 configuration, see the D3 Reference Manual.

Tape statements define the tape devices available for use by the D3 virtual machine. Tape devices are numbered (for use in the set-device and other commands) starting at 0 (zero) from the top of the list. The first device in the list is the default device.

Note: When adding tape definitions to a D3 virtual machine, the D3 virtual machine needs to be restarted after the tape definitions have been added to the configuration file for the virtual machine.
tape /dev/fd0H1440 500 f lq #3.5 floppy 1.44M high density
tape /dev/fd0H720  500 f ld #3.5 floppy  720K low  density
tape /dev/nst(x) 16384 q lh #SCT high density
tape /dev/nst(x) 16384 q ls #SCT low  density
tape /dev/nst(x) 16384 v l  #8mm tape
tape /dev/nst(x) 16384 d 1  #4mm tape
tape /home/tmp/floppy 500 f lx #temporary floppy device
tape /dev/pipein 500 c lx #data in/out from/to 'some other source'
tape /tmp/pseudo 1000000 p lx #compressed pseudo tape

Parameter Description
First Tape.
Second UNIX file path of the tape device. This device must already exist (with any drivers already loaded) for D3 to properly use the device. The device paths listed above are examples only; your device paths can be different. Note that these file paths refer to the no rewind devices, which are required for all D3 tape devices. For example, tape /dev/pipein where the device code = c.
Third Block size of the device.
Note: Third parameter no longer serves a useful purpose, other than marking a space during parsing of the configuration file, and is required. The exception is the compressed pseudo tape device.

The block size is set according to these conventions:

  • For floppy devices, this is usually 500.

  • For half inch tape devices, this is usually 4096 or 8192.

  • For other tape devices, this is usually 16384.

The block size is used only for compressed pseudo tape devices. It contains the number of 1 KB (1024 byte) blocks to write prior to compression before the file is closed and the tape operation cascades to a new file. If this number is less than 1000, the device does not cascade and may run into UNIX file size limitations.
Fourth Specifies the type of tape (magnetic media) device code. Valid types are:
f Floppy disk or uncompressed pseudo tape
q Quarter-inch streaming tape
d 4mm digital tape
v 8mm digital tape
h Half-inch tape
c No rewind device (pipe)
p Compressed pseudo tape (cascading)
Fifth Specifies the read/write density of the device.
Device Default Density Low Density Medium Density High Density
q l ld . lh
d l . . lh
v l . . lh
h l ld lm lh
The above device type parameters are ignored by the system and used as a place marker.
c lx . . .
f (floppy) lx ld . lq
p, f (pseudo) lx . . .