config tape

config tape


config security Index Level control-chars
Syntax config tape {vmname}
Category TCL
Type Menu
Description enters the Update processor to show the list of tapes currently defined in the specified virtual machine.
Up to 16 devices are supported. The installation procedure senses the real tape devices and add them to the configuration file, along with pre-defined pseudo floppies. The System Administrator can add devices freely.

"Tape device name"
 This is the Unix device name of the peripheral. The System Administrator must ensure that proper access rights are set so that the virtual machine can do all operations on it. If the file is a special file (a device), then use the raw (character) rather than the block device.

"blksz"
 This is the default block size of the device. This field is used only at boot time, in case a file restore is attempted on this device. It has no influence on the default block size defined by the "t-att" command.

"t"
 This is the type of the device. The following types are supported:
 f    Floppy, real or pseudo
 h    1/2" tape
 q    1/4" tape
 v    8mm tape
 c    serial device or network or Unix pipe
 d    4mm tape

"Opt"
 This string defines the various options. Depending on the device, the following options are available:
 On All devices:

 l   Link field present for ABS restore. Required for floppy and network.

 On Floppies only:

 o   3 1/2", 2.88 M
 q   3 1/2", 1.44 M
 d   5 1/4", 1.2 M
 l   3 1/2" or 5 1/4", 720K
 s   5 1/4", 360 K
 x   pseudo floppy (no size)

 On Quarter-inch /4" tape (SCT) only:

 h   highest density
 s   standard density

 On Half-inch tapes (9 track) only:

 h   6250 bpi
 m   3200 bpi
 s   1600 bpi

"Comments"
 Free text. On D3/SCO, however, if the device is a quarter-inch (SCT), the comment must start with the auxiliary device name. For instance:

 Tape device name blksz t Opt Comments
 /dev/nrct0       16384 q lh  /dev/xct0 #1
Options
See Also list-device chg-device set-device set-floppy set-half set-sct t-att config
Example
Warnings When adding a Unix file as a pseudo floppy, it is necessary to create the file (empty) before it can be used. For example, to add a pseudo floppy '/tmp/save':

- Edit the tape configuration to add:

Tape device name    blksz t Opt Comments
/tmp/save             500 f lx  Last save

- Create the empty file (if from TCL, prefix the command by a '!'):

echo "" > /tmp/save

- Give permission to read and write the file (if from TCL, prefix the command by a '!'):

chmod  0777  /tmp/save

On quarter-inch (SCT) and half-inch (9 track), the density encoding is for reference only, so that the "set-device" and "list-device" commands report valid information. It can be omitted.
Compatibility D3/Unix AP 6.0
config security Index Level control-chars