public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@steeleye.com>
To: Mike Anderson <andmike@us.ibm.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: 05 May 2003 11:14:10 -0500	[thread overview]
Message-ID: <1052151252.1888.15.camel@mulgrave> (raw)
In-Reply-To: <20030505155210.GB1567@beaverton.ibm.com>

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.

> They are not unique to the block layer either. uuid's are unique to the
> name space they are acquired in. Non-block storage devices can have
> uuids. They can also have uuids without block based upper level drivers
> loaded.

True.

> 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.

James



  reply	other threads:[~2003-05-05 16:02 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 [this message]
2003-05-05 16:26         ` Patrick Mansfield
2003-05-05 16:57         ` Mike Anderson
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=1052151252.1888.15.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=andmike@us.ibm.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