IBM TS2340 User Guide - Page 432
locate_block_id, log_sense code, medium_info, move_medium
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 432 highlights
Windows - Utility Program (ntutil) locate_block_id: SYNTAX: locate_block_id for example, locate_block_id FUNCTION Tested: This command calls the device driver SetTapePosition entry point with an operation of TAPE_LOGICAL_BLOCK. It attempts to position to the last read_block_id value for the cartridge in the tape device special file opened previously or the block ID set by the set block_id function. log_sense (page_code): SYNTAX: log_sense page_code = xx for example, log_sense page_code = 00 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_LOG_SENSE. This reads the log sense page specified by the page code and displays the data. The page_code (xx) is two hexidecimal characters that specify the log sense page to be read. medium_info: SYNTAX: medium_info for example, medium_info FUNCTION Tested: This command calls the device driver GetTapeParameters entry point with an operation of GET_TAPE_MEDIA_INFORMATION. If the command is successful, the information returned is in the TAPE_GET_MEDIA_PARAMETERS structure described in the Microsoft SDK. The information is formatted and printed. The information returned is block_size, partition count, and write protect. move_medium: SYNTAX - Windows NT: move_medium saddr = n daddr = n where saddr = decimal source address (moving from) daddr = decimal destination address (moving to) for example, move_medium saddr = 11 daddr = 13 SYNTAX - Windows 2000 and Windows Server 2003 and Windows Server 2008: move_medium stype = n saddr = n dtype = n daddr = n where stype = decimal source address type 2=SE(ChangerSlot), 3=IEE (ChangerIEPort), 4=DTE (ChangerDrive) saddr = decimal source address (moving from) dtype = decimal target address type (see stype for supported values) daddr = decimal destination address (moving to) for example, move_medium stype = 2 saddr = 1 dtype = 4 daddr = 0 414 IBM Tape Device Drivers Installation and User's Guide