From: Paolo Bonzini <pbonzini@redhat.com>
To: "Nelson, Doug" <doug.nelson@intel.com>
Cc: Matthew Wilcox <willy@linux.intel.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
linux-kernel@vger.kernel.org, Kay Sievers <kay.sievers@vrfy.org>
Subject: Re: scsi_id: sending ioctl 2285 to a partition
Date: Sat, 11 Feb 2012 09:39:20 +0100 [thread overview]
Message-ID: <4F362938.5090705@redhat.com> (raw)
In-Reply-To: <4F35AC75.5090703@intel.com>
On 02/11/2012 12:47 AM, Nelson, Doug wrote:
>
> Here's what I had in 20-local.rules
>
> KERNEL=="sd*", BUS=="scsi", PROGRAM="scsi_id --whitelisted -d
> $tempnode", ENV{ID_BUS}="scsi"
>
> BUS=="scsi", RESULT=="3500151795924153d", NAME="disk-r1e1-d1s%n",
> GROUP:="dba", OWNER:="oracle"
> BUS=="scsi", RESULT=="35001517959269241", NAME="disk-r1e1-d2s%n",
> GROUP:="dba", OWNER:="oracle"
> BUS=="scsi", RESULT=="3500151795926930d", NAME="disk-r1e1-d3s%n",
> GROUP:="dba", OWNER:="oracle"
>
Thanks. I think we could fix scsi_id to strip a partition number and
print itself a warning if passed a partition number.
That said, the above rules alone would have failed with latest udev due
to the use of BUS= (removed in udev 174).
Paolo
next prev parent reply other threads:[~2012-02-11 8:39 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-09 20:29 scsi_id: sending ioctl 2285 to a partition Matthew Wilcox
2012-02-09 20:42 ` Linus Torvalds
2012-02-09 21:00 ` Matthew Wilcox
2012-02-09 21:11 ` Linus Torvalds
2012-02-10 8:17 ` Paolo Bonzini
2012-02-10 16:10 ` Linus Torvalds
2012-02-10 16:25 ` Paolo Bonzini
2012-02-10 17:23 ` Nelson, Doug
2012-02-10 19:40 ` Paolo Bonzini
2012-02-10 19:41 ` Paolo Bonzini
2012-02-10 19:47 ` Nelson, Doug
2012-02-10 20:57 ` Paolo Bonzini
2012-02-10 23:47 ` Nelson, Doug
2012-02-11 8:39 ` Paolo Bonzini [this message]
2012-02-11 11:07 ` Kay Sievers
-- strict thread matches above, loose matches on Subject: below --
2012-02-10 20:43 Alan Stern
2012-02-10 20:52 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F362938.5090705@redhat.com \
--to=pbonzini@redhat.com \
--cc=doug.nelson@intel.com \
--cc=kay.sievers@vrfy.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=willy@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).