mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Persistent device numbers
@ 2001-08-02  6:30 Borsenkow Andrej
  2001-08-02  9:50 ` Chris Wedgwood
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Borsenkow Andrej @ 2001-08-02  6:30 UTC (permalink / raw)
  To: linux-kernel

As far as I understand, currently kernel assigns device numbers dynamically.
It means, that actual, user visible, controller/drive name may change if

- hardware configuaration is changed (added ot removed controller, added or
removed drive)

- for some reasons order of initialisation in kernel changes (which may
result in nasty surprise after update)

Moreover, it near to impossible to know which name device gets in advance
(or why it gets this name).

Most commercial systems (O.K. those I looked into) have some sort of logical
device numbering that assigns fixed name based on some unique hardware
address (cf /etc/path_to_inst in Solaris). Hardware address usually is a
path needed to access device - i.e. Bus/Slot/Channel[/drive id], so that you
can set

PCI0/Slot3/Channel1 == eth3

and this never changes if you add or remove any card.

Do I miss something and Linux has such mechanism?

TIA

-andrej

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <mailman.996733981.23626.linux-kernel2news@redhat.com>]

end of thread, other threads:[~2001-08-08  7:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-02  6:30 Persistent device numbers Borsenkow Andrej
2001-08-02  9:50 ` Chris Wedgwood
2001-08-02 10:20 ` Christoph Hellwig
2001-08-02 17:06   ` Greg KH
2001-08-02 14:37 ` Alan Cox
2001-08-02 20:05   ` Kurt Garloff
2001-08-08  7:27   ` Borsenkow Andrej
     [not found] <mailman.996733981.23626.linux-kernel2news@redhat.com>
2001-08-02 17:15 ` Pete Zaitcev

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

all inboxes | Powered by JetHome®