All of lore.kernel.org
 help / color / mirror / Atom feed
From: torvalds@transmeta.com (Linus Torvalds)
To: linux-scsi@vger.kernel.org
Subject: Re: [RFC] Persistent naming of scsi devices
Date: Wed, 10 Apr 2002 02:17:05 +0000 (UTC)	[thread overview]
Message-ID: <a907b1$rdj$1@penguin.transmeta.com> (raw)
In-Reply-To: 3CB39285.8000609@vitalstream.com

In article <3CB39285.8000609@vitalstream.com>,
Rick Stevens  <rstevens@vitalstream.com> wrote:
>
> [ Position-based naming ]
>
>As I said, other people smarter than I seem to think it makes sense.

No, those people were probably not smarter than you. In fact, they are
likely complete morons.

Position means nothing.  Anybody who bases naming on position is just
bending over and waiting for it when it comes to hotplugging etc.  It
solves none of the problems it is claimed to solve (ie the names are
_not_ constant), and it fundamentally locks you into a mindset that
simply isn't true. 

>Why not Linux?  It's silly to smush things together just to satisfy a
>bizzare craving to have a list of devices with no "holes" in it.

No, it's silly to think that you can enumerate the address space: you
can't. The only thing you get from trying is a horrible mess in /dev
that adds zero information anywhere.

You're much better off just enumerating your SCSI devices the trivial
way (ie 0, 1, 2 ....  completely independent on position - each device
gets one unique number that has no inherent meaning and is UNDERSTOOD to
have no inherent meaning, only an ID) and then having a way to query
their attibutes.  That way you can use the attributes (which are _NOT_
identities) to create whatever "convenient mapping" you want. 

The position of a drive is not its name, it's just one random attribute
in a sea of other random attributes.  Depending on what you do, it might
be a useful one, but it's equally likely that it is completely
meaningless.  Trying to make it inherently meaningful is just *wrong*.

		Linus

  parent reply	other threads:[~2002-04-10  2:17 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-08 19:18 [RFC] Persistent naming of scsi devices Martin Peschke3
2002-04-08 20:45 ` Matthew Jacob
2002-04-10  1:16 ` Rick Stevens
2002-04-10  2:01   ` Matthew Jacob
2002-04-10  2:17   ` Linus Torvalds [this message]
2002-04-10  3:37   ` Martin K. Petersen
2002-04-10 13:19     ` Theodore Tso
2002-04-10 14:04       ` Eddie Williams
2002-04-10 17:45         ` Mike Anderson
  -- strict thread matches above, loose matches on Subject: below --
2002-06-05 20:13 sullivan
2002-06-06  1:08 ` Douglas Gilbert
2002-04-12 18:03 berthiaume_wayne
2002-04-12 17:18 Bryan Henderson
2002-04-12 13:15 berthiaume_wayne
2002-04-11 16:01 Bryan Henderson
2002-04-10 20:24 berthiaume_wayne
2002-04-10 19:02 Martin Peschke3
2002-04-10 16:44 berthiaume_wayne
2002-04-10 15:52 Martin Peschke3
2002-04-10 19:33 ` Matthew Jacob
2002-04-10 15:28 Bryan Henderson
2002-04-10 14:36 berthiaume_wayne
2002-04-10 16:02 ` Matthew Jacob
2002-04-10 14:28 berthiaume_wayne
2002-04-10  1:40 Bryan Henderson
2002-04-08 22:05 Martin Peschke3
2002-04-08 22:17 ` Matthew Jacob
2002-04-08 16:11 Matt_Domsch
2002-04-08 15:18 sullivan
2002-04-08 15:04 ` Christoph Hellwig
2002-04-08 15:59   ` Matthew Jacob
2002-04-08 16:34   ` James Bottomley
2002-04-08 18:27     ` Patrick Mansfield
2002-04-08 19:17       ` James Bottomley
2002-04-09  0:22         ` Douglas Gilbert
2002-04-09 14:35           ` sullivan
2002-04-09 14:55         ` sullivan
2002-04-08 17:51   ` Oliver Neukum
2002-04-08 18:01     ` Christoph Hellwig
2002-04-08 18:18     ` Matthew Jacob
2002-04-08 18:28       ` James Bottomley
2002-04-08 18:34         ` Matthew Jacob
2002-04-08 19:07           ` James Bottomley
2002-04-08 20:41             ` Matthew Jacob
2002-04-08 18:45   ` Tigran Aivazian
2002-04-08 20:18 ` Eddie Williams
2002-04-09  0:48 ` Kurt Garloff

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='a907b1$rdj$1@penguin.transmeta.com' \
    --to=torvalds@transmeta.com \
    --cc=linux-scsi@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.