lkml.org 
[lkml]   [2012]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: scsi_id: sending ioctl 2285 to a partition
    On Fri, Feb 10, 2012 at 09:17, Paolo Bonzini <pbonzini@redhat.com> wrote:
    > On 02/09/2012 10:00 PM, Matthew Wilcox wrote:

    >> I'm pretty sure it's doing it as root ... it'll be run by udev, after all.
    >
    > What does the rule look like?  Here it is like this:
    >
    > # scsi devices
    > KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*",
    > IMPORT{program}="scsi_id --export --whitelisted -d $tempnode",
    > ENV{ID_BUS}="scsi"
    >
    > which should exclude partitions, and indeed I don't see any such message.  I
    > also have this rule:

    I don't think "sd*[!0-9]" matches partition devices.

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

    \
     
     \ /
      Last update: 2012-02-11 12:11    [W:0.081 / U:87.904 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site