public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* dev nodes assignement ?
@ 2003-01-29 11:00 devnetfs
  2003-01-29 16:46 ` Steven Dake
  2003-01-29 17:59 ` Bryan Henderson
  0 siblings, 2 replies; 4+ messages in thread
From: devnetfs @ 2003-01-29 11:00 UTC (permalink / raw)
  To: linux-scsi

Hello,

Is /dev/sdX scsi dev node assignment based *only* on the pci-slot
the HBA's are in? or also upon the order in which the LLDD is loaded?

In other words does the mid-layer scan+make-a-list of all HBA's on
the system (and thereby assigning the /dev name) and then when a LLDD
is loaded, tells it the HBA-list? 
OR
Does each LLDD does a pci-scan and assign /dev name for HBA's that it
can handle -- in which case the order of LLDD getting loaded is also
important in deciding the /dev/sdX name.

Please clarify, 
Thanks in advance
A.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dev nodes assignement ?
  2003-01-29 11:00 dev nodes assignement ? devnetfs
@ 2003-01-29 16:46 ` Steven Dake
  2003-01-29 17:59 ` Bryan Henderson
  1 sibling, 0 replies; 4+ messages in thread
From: Steven Dake @ 2003-01-29 16:46 UTC (permalink / raw)
  To: devnetfs; +Cc: linux-scsi

first come first serve.  devfs defines the device nodes using access 
path (host/channel/id/lun) which is a bit more usable for hotswap 
situtations, assuming your id's don't change.

Thanks
-steve

devnetfs wrote:

>Hello,
>
>Is /dev/sdX scsi dev node assignment based *only* on the pci-slot
>the HBA's are in? or also upon the order in which the LLDD is loaded?
>
>In other words does the mid-layer scan+make-a-list of all HBA's on
>the system (and thereby assigning the /dev name) and then when a LLDD
>is loaded, tells it the HBA-list? 
>OR
>Does each LLDD does a pci-scan and assign /dev name for HBA's that it
>can handle -- in which case the order of LLDD getting loaded is also
>important in deciding the /dev/sdX name.
>
>Please clarify, 
>Thanks in advance
>A.
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>http://mailplus.yahoo.com
>-
>To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
>
>  
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dev nodes assignement ?
  2003-01-29 11:00 dev nodes assignement ? devnetfs
  2003-01-29 16:46 ` Steven Dake
@ 2003-01-29 17:59 ` Bryan Henderson
  2003-01-30  5:28   ` devnetfs
  1 sibling, 1 reply; 4+ messages in thread
From: Bryan Henderson @ 2003-01-29 17:59 UTC (permalink / raw)
  To: devnetfs; +Cc: linux-scsi





>Is /dev/sdX scsi dev node assignment based *only* on the pci-slot
>the HBA's are in? or also upon the order in which the LLDD is loaded?

First of all, let's acknowledge that the /dev/sdX device special file
assignments are done manually by the user and are permanent.  /dev/sdX is
assigned to a major and minor number.

So the actual question is about minor number assignments.

>... OR
>Does each LLDD do a pci-scan and assign [minor numbers] for HBA's that it
>can handle -- in which case the order of LLDD getting loaded is also
>important in deciding the [minor number].

Yes.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dev nodes assignement ?
  2003-01-29 17:59 ` Bryan Henderson
@ 2003-01-30  5:28   ` devnetfs
  0 siblings, 0 replies; 4+ messages in thread
From: devnetfs @ 2003-01-30  5:28 UTC (permalink / raw)
  To: Bryan Henderson; +Cc: linux-scsi

Thanks Bryan and Steve for clarifying my (long standing) doubt :)

Regards,
A.

--- Bryan Henderson <hbryan@us.ibm.com> wrote:
> >Is /dev/sdX scsi dev node assignment based *only* on the pci-slot
> >the HBA's are in? or also upon the order in which the LLDD isloaded?
> 
> First of all, let's acknowledge that the /dev/sdX device special file
> assignments are done manually by the user and are permanent. 
> /dev/sdX is assigned to a major and minor number.
> 
> So the actual question is about minor number assignments.
> >... OR
> >Does each LLDD do a pci-scan and assign [minor numbers] for HBA's
> >that it can handle -- in which case the order of LLDD getting 
> > loaded is alsoimportant in deciding the [minor number].
> Yes.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-30  5:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-29 11:00 dev nodes assignement ? devnetfs
2003-01-29 16:46 ` Steven Dake
2003-01-29 17:59 ` Bryan Henderson
2003-01-30  5:28   ` devnetfs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox