Re: [PATCH] 2.5.5-pre1 IDE cleanup 9

Vojtech Pavlik
2002-02-22T22:02:27Z

On Fri, Feb 22, 2002 at 04:56:24PM -0500, Jeff Garzik wrote:
> Vojtech Pavlik wrote:
> > For some adapters, this is possible, for other it is not (at all). You
> > happen to be a maintainer of one for which it is possible, and thus your
> > point of view is quite different from mine - mine comes from USB and
> > other parts of the device world, where no order can even be defined.
> >
> > And because of that, I do not think that having the host adapters decide
> > what device gets what number is a good idea. They should provide the
> > information if they have it, but the final decision should definitely be
> > done in userspace, by the hotplug agent.
> >
> > Ie. it should be configurable.
>
> For the future, we need to get away from legacy methods of disk
> ordering, indeed.

Exactly.

> For Gerard's case, I can see a userspace agent running in initramfs
> discovering the order...

The same agent that decides for the other cases - only in Gerard's case
it has more information to work with, we just have to make sure it can
access the information.

> Most filesystems have some sort of serial number of labelling capability
> which allows them to be addressed independent of spindle, or starting
> position on that spindle [partition].

Yes, yes, yes.

--
Vojtech Pavlik
SuSE Labs