Certance DAT 24 User Manual page 31

Quantum dat 24: user guide
Table of Contents

Advertisement

UNIX Settings
Irix V6.x
To configure Irix 6.x to use the DAT24 tape drive, modify the files /var/sysgen/master.d/scsi and /
dev/MAKEDEV.d/TPS_base, then rebuild the kernel, as described below:
1.
Add the following entry to the file /var/sysgen/master.d/scsi
{ DATTAPE, TPDAT, 7, 12, "ARCHIVE", "Python PRTNO"/*DAT*/, 0, 0, {0},
/* This drive uses mode select page 0xf for compression control;
* most of the other drives supporting compression use page 0x10 */
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|MTCAN_PART|MTCAN_PREV|
MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
MTCAN_SILI|MTCAN_SEEK|MTCAN_CHTYPEANY|MTCAN_COMPRESS,
/* minimum delay on i/o is 12 minutes, to allow the Drives
* full error recovery sequence to be performed. */
40, 12*60, 12*60, 12*60, 512, 512*512, 0, (u_char *)0 },
2.
For IRIX 6.x versions other than 6.4, make the following modification to the file /dev/
MAKEDEV.d/TPS_base (this modification is not required on systems running IRIX 6.4).
Locate the area of code that deals with DAT drives. This starts with:*
Drive?type:*DAT*
Insert the following before or after the similar entries for other supported devices:
*Device:*Python*PRTNO*) # DAT drive with compression
mdev=`expr $mdev + 8`;
mknod ${prf}$1c c ${C_TPS} $mdev;
;;
NOTE: TPS_base is a script, not a C source file. Using the C comment characters, /* */ and
// causes the MAKEDEV script to fail and device drivers will not be created. Always use the
shell comment character, #, in this file.
3.
Rebuild the kernel, as described below.
See "Configuring Inquiry Strings" on page 27 for information about changing the inquiry
string and replacing PRTNO with the number applicable to your DAT24 drive.
Rebuilding the Irix Kernel
1.
Once the modifications are made, rebuild the kernel. This can be done using the autoconfig
command (see the autoconfig man page for details). Alternatively, Irix 5.3 and later detect the
changes made and automatically rebuild the kernel the next time the system boots.
2.
Once the new Kernel is built you will need to reboot the system again to bring the changes
into effect.
Configuring for the SGI Environment
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

24

Table of Contents