NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Device assignment order



On Tue, Mar 08, 2011 at 09:31:04AM -0700, Scrap Happy wrote:
> Hi,
> 
> I'm building a new kernel to add support for second
> IDE controller -- pdcide(4) -- in this PV715N.  My
> first attempt at doing so resulted in "wd0" being
> enumerated on the pdcide device instead of the wdc
> device (which, of course, put all my filesystems in
> the wrong place -- boo!).
> 
> When devices in configuration file are wildcarded,
> how does kernel assign identifiers to them?  I am
> *guessing* (haven't found the right man(1) page
> to clarify this :< ) that they are enumerated in
> the order declared in the config file?

No, they are enumerated in the order they are discovered
by the kernel at boot time (or later)

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index