From: Mike Anderson <andmike@us.ibm.com>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: dougg@torque.net, Andries.Brouwer@cwi.nl,
SCSI Mailing List <linux-scsi@vger.kernel.org>,
linux-usb-devel@lists.sourceforge.net,
mdharm-scsi@one-eyed-alien.net,
Patrick Mansfield <patmans@us.ibm.com>
Subject: Re: [PATCH] scsi-misc-2.5 remove scsi_scan.c EVPD code
Date: Mon, 5 May 2003 09:57:39 -0700 [thread overview]
Message-ID: <20030505165739.GD1567@beaverton.ibm.com> (raw)
In-Reply-To: <1052151252.1888.15.camel@mulgrave>
James Bottomley [James.Bottomley@steeleye.com] wrote:
> On Mon, 2003-05-05 at 10:52, Mike Anderson wrote:
> > James Bottomley [James.Bottomley@steeleye.com] wrote:
> > Mutability should not depend on how a uuid is set. It should depend on
> > what can change it.
>
> I think the sysfs write API is sufficient, so it has to be a rw-r-r file
> to allow root to write it on hotplug.
>
> > Why block?
>
> It's the largest available useful subset other than device itself.
>
> > If you obtain a scsi_device uuid it should not be written in to a block
> > device attribute it should be attached to the struct device representing
> > the scsi device. If the attribute name is consistent "uuid" than cat
> > ".../device/uuid" will function the same.
>
> by that argument, capacity, which is a property of the SCSI sd device
> should be stored in the SCSI device. It isn't, since it's a global
> block device property, it's stored in the gendisk.
>
> Unique identifiers are a property of SCSI devices, but they're not an
> exclusive property.
Yes I agree they are not exclusive to SCSI, but the same can be said of
the block argument. Block is large set, but is not the whole set of
possible uuid producing nodes.
We could add it as a device default attribute (dev_default_attrs), but
it would produce the extra overhead like power does today for nodes that
have no uuid.
-andmike
--
Michael Anderson
andmike@us.ibm.com
next prev parent reply other threads:[~2003-05-05 16:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-25 0:47 [PATCH] scsi-misc-2.5 remove scsi_scan.c EVPD code Andries.Brouwer
2003-05-05 7:58 ` Douglas Gilbert
2003-05-05 14:17 ` James Bottomley
2003-05-05 15:52 ` Mike Anderson
2003-05-05 16:14 ` James Bottomley
2003-05-05 16:26 ` Patrick Mansfield
2003-05-05 16:57 ` Mike Anderson [this message]
2003-05-05 17:01 ` James Bottomley
2003-05-05 16:38 ` Patrick Mansfield
2003-05-05 16:59 ` James Bottomley
2003-05-05 17:46 ` Mike Anderson
2003-05-05 22:51 ` Patrick Mansfield
2003-05-06 1:39 ` Douglas Gilbert
2003-05-06 4:11 ` Patrick Mansfield
2003-05-06 5:58 ` Douglas Gilbert
2003-05-06 21:11 ` Patrick Mansfield
-- strict thread matches above, loose matches on Subject: below --
2003-04-25 0:22 Patrick Mansfield
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=20030505165739.GD1567@beaverton.ibm.com \
--to=andmike@us.ibm.com \
--cc=Andries.Brouwer@cwi.nl \
--cc=James.Bottomley@steeleye.com \
--cc=dougg@torque.net \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=mdharm-scsi@one-eyed-alien.net \
--cc=patmans@us.ibm.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