Re: scsi_id: sending ioctl 2285 to a partition

From: Paolo Bonzini
Date: Fri Feb 10 2012 - 14:41:40 EST


On 02/10/2012 08:40 PM, Paolo Bonzini wrote:
# scsi devices
KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*",
IMPORT{program}="scsi_id --export --whitelisted -d $tempnode",
ENV{ID_BUS}="scsi"

The rule I had was not excluding partitions. I'll fix that and try
again.

So was it a custom rule, or it came with the distro?

More important: did you have something like this:

# for partitions import parent information
ENV{DEVTYPE}=="partition", IMPORT{parent}="ID_*"

?

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/