Read Cartridge Location
When you select the Read Cartridge Location command:
- You are prompted for address of the first element.
- If address is zero, print the error message and exit.
- You are prompted for the number of elements.
- If the number of elements is zero, print the error message and exit.
- ITDT issues the Element Info ioctl command.
- ITDT verifies that the address range is valid. Otherwise, print the error message and exit.
- If no slots are found in Element Info data; print the error message and exit.
- ITDT issues the READ_CARTRIDGE_LOCATION ioctl command.
- ITDT prints decoded storage element information.