Accessing tapes by bus ID
![]()
Use device nodes that are based on device bus-IDs to ensure that you access a tape device with a particular bus ID, regardless of the assigned device name.
Example
This example assumes that udev
creates the following device nodes for a device with bus ID
0.0.01ac:- /dev/ntibm0
- /dev/tape/0.0.01ac/non-rewinding
Instead of issuing:
# mt -f /dev/ntibm0 unload
issue:
# mt -f /dev/tape/0.0.01ac/non-rewinding unload