Re: howto get serial number of a tape drive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 6, 2009 at 17:58, John Stoffel<john@xxxxxxxxxxx> wrote:
> I'm trying to make sure that my tape drives get named properly on
> bootup in my tape library.  As far as I can determine, the
> /lib/udev/scsi_id command requires that you use the SCSI Generic
> device for the inquiry.

Some tape nodes don't like to be opened, they rewind the tape, that's
why they are not used.

> How do I map from /dev/st0 to /dev/sg? within a udev rule so I can
> pull out the proper serial number?

The old sg stuff willnot work, bsg has the same name as the SCSI LUN
and is guaranteed to be there.

> I've looked at the 60-persistent-storage-tape.rules file, but it
> doesn't seem to help, or I'm just being dense somewhere?

Which udev version? What's missing in /dev/tape/?

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux