Read Cartridge Location

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