[clug] multiple tape drives

Chris Smart mail at christophersmart.com
Mon Mar 2 00:06:54 GMT 2009


2009/3/1 Daniel Pittman <daniel at rimspace.net>:
> You /should/ have something akin to /dev/tape/by-id/[bus]-[serial]-nst
> available for you; the bus and serial number come from the device.

Agreed. You could create a udev rule if you like, but it's easier just
to use the 'by-id' devices provided by the kernel. I checked this on
my tape devices and it appears to use the model and serial number, so
these should never change, regardless of their position on the SCSI
bus.

-c


More information about the linux mailing list