[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPXgP109Pk_sJFx3KmLM8ehJBodM3N+bAkCBrX6N0JbYL6331w@mail.gmail.com>
Date: Sat, 11 Feb 2012 12:07:26 +0100
From: Kay Sievers <kay.sievers@...y.org>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Matthew Wilcox <willy@...ux.intel.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org, Doug Nelson <doug.nelson@...el.com>
Subject: Re: scsi_id: sending ioctl 2285 to a partition
On Fri, Feb 10, 2012 at 09:17, Paolo Bonzini <pbonzini@...hat.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists