Under Linux, tape drives are typically named using the following convention:
/dev/st[device number]
For example, the first tape drive on the system would be named /dev/st0
, the second tape drive would be named /dev/st1
, and so on.
In some cases, tape drives may also be named using the /dev/nst[device number]
convention, where n
is a number indicating the SCSI host adapter that the tape drive is connected to. For example, a tape drive connected to SCSI host adapter 2 would be named /dev/nst2
.
You can use the ls
command to view the available tape drives on the system:
ls /dev/st*
This will list all tape drives that are currently available on the system.
Note: These naming conventions may vary depending on the specific Linux distribution and the type of tape drive being used. Consult the documentation for your specific distribution and tape drive for more information.