In interactive mode, open device, then use option 12, it will show all element information. E.g. for a 3590 minirobot (10 slots and one Import/Export slot):
# tapeutil
General Commands:
1. Open a Device 5. Inquiry 9. Log Sense Page
2. Close a Device 6. Test Unit Ready 10. Mode Sense Page
3. Device Info 7. Reserve Device 11. Release Device
4. Tape Drive Service Aids 8. Request Sense Q. Quit Program
Medium Changer Commands:
12. Element Information 16. Move Medium
13. Position To Element 17. Load/Unload Medium
14. Element Inventory 18. Initialize Element Status
15. Exchange Medium 19. Prevent/Allow Medium Removal
Tape Commands:
20. Query/Set Parameters 30. Read and Write Tests
21. Prevent/Allow Medium Removal 31. Unload Tape
22. Rewind 32. Erase
23. Erase Gap 33. Write Filemarks
24. Forward Space Filemarks 34. Backward Space Filemarks
25. Forward Space Records 35. Backward Space Records
26. Space to End of Data 36. Query/Set Tape Position
27. Log Sense 37. Read or Write Files
28. Display Message 38. Query/Create/Change Partition
29. Synchronize Buffers 39. Report Density Support
Enter Selection: 1
Enter the device special file name (Example: /dev/rmt0): /dev/rmt0
Select mode (1=Read/Write, 2=Read Only, 3=Write Only, 4=Append): 2
Opening device...
Hit <enter> to continue...
General Commands:
1. Open a Device 5. Inquiry 9. Log Sense Page
2. Close a Device 6. Test Unit Ready 10. Mode Sense Page
3. Device Info 7. Reserve Device 11. Release Device
4. Tape Drive Service Aids 8. Request Sense Q. Quit Program
Medium Changer Commands:
12. Element Information 16. Move Medium
13. Position To Element 17. Load/Unload Medium
14. Element Inventory 18. Initialize Element Status
15. Exchange Medium 19. Prevent/Allow Medium Removal
Tape Commands:
20. Query/Set Parameters 30. Read and Write Tests
21. Prevent/Allow Medium Removal 31. Unload Tape
22. Rewind 32. Erase
23. Erase Gap 33. Write Filemarks
24. Forward Space Filemarks 34. Backward Space Filemarks
25. Forward Space Records 35. Backward Space Records
26. Space to End of Data 36. Query/Set Tape Position
27. Log Sense 37. Read or Write Files
28. Display Message 38. Query/Create/Change Partition
29. Synchronize Buffers 39. Report Density Support
Enter Selection for /dev/rmt0: 12
Getting element information...
Number of Robots .............. 1
First Robot Address ........... 0
Number of Slots ............... 10
First Slot Address ............ 32
Number of Import/Exports ...... 1
First Import/Export Address ... 31
Number of Drives .............. 1
First Drive Address ........... 16
Hit <enter> to continue...
This shows me that the media slots are addressed as element numbers 32 to 41. The (one and only) import/export slot is addressed as element number 31. The (one and only) drive is addressed as element number 16.
You can use these element numbers in tapeutil command lines.
HTH,
p5wizard