IBM TS2340 User Guide - Page 434
HARDWARE\\DEVICEMAP\\Scsi\\Scsi Port W\\Scsi Bus X\\Target Id Y, Logical Unit Id Z, block_size
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 434 highlights
Windows - Utility Program (ntutil) SYNTAX: poll_devices for example, poll_devices FUNCTION Tested: This command searches the following registry key: HARDWARE\\DEVICEMAP\\Scsi\\Scsi Port W\\Scsi Bus X\\Target Id Y\\ Logical Unit Id Z for devices supported by the Windows tape and medium changer device drivers. This command then attempts to open each of the devices found and issue INQUIRY and TEST UNIT READY SCSI commands to each open device. The status of all the devices is printed on the screen. Executing this command closes all currently open devices. If another application is using the device, this command will not be able to query the status of that device. read: SYNTAX: read read records = n for example, read records = 2 FUNCTION Tested: This command calls the device driver ReadFile entry point. It attempts to read from the tape device special file opened previously. The amount of data to be read depends on the current settings of the block_size and block_count variables and on the number of records specified. This command transfers n records. A record has have a length of block_size*block_count for Fixed-Block mode, and block_count for Variable mode. For example, if block_size=1024, block_count=2 and records=3, then three 2048 transfers are done. If the operation succeeds, the RC shows the total number of bytes transferred. read_block_id: SYNTAX: read_block_id for example, read_block_id FUNCTION Tested: This command calls the device driver GetTapePosition entry point with an operation of TAPE_LOCICAL_POSITION. It attempts to read the current block ID value for the cartridge in the tape device special file opened previously. read_dump: SYNTAX: read_dump read_dump dump_name=string device=devnum where string is eight characters or less and devnum=0 (for tape) or 1 (for changer) For example, read_dump dump_name = fsc0000 device = 0. FUNCTION Tested: This command calls the device driver DeviceIoControl entry point with an operation of IOCTL_SCSI_PASS_THROUGH and a CDB[0] of SCSIOP_READ_DATA_BUFF. This reads the dump data and writes it to a file specified by dump_name or to a dump0000.dmp default file. Dump_name must be 416 IBM Tape Device Drivers Installation and User's Guide