From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13589 invoked from network); 10 Sep 1999 16:54:37 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 10 Sep 1999 16:54:37 -0000 Received: from bastion.power-x.co.uk (bastion.power-x.co.uk [62.232.19.201]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA13497 for ; Fri, 10 Sep 1999 12:54:34 -0400 Received: from springhead.px.uk.com (IDENT:dg@springhead.px.uk.com [172.16.17.15]) by bastion.power-x.co.uk (8.9.3/8.9.3) with ESMTP id RAA19510 for ; Fri, 10 Sep 1999 17:54:20 +0100 Date: Fri, 10 Sep 1999 17:54:20 +0100 (BST) From: "Dr. David Gilbert" X-Sender: dg@springhead.px.uk.com To: axp-list@redhat.com Subject: Re: /dev/? In-Reply-To: <702468697066D211907700104B2CB408340B53@CYGNUS> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 10 Sep 1999, Mark Henry wrote: > Dear All, > > Consider a situation where two ethernet card drivers of different > manufacture (in this case, the DEC tulip and a 3Com 3C905) are compiled as > modules and then inserted at a later time into the kernel. > > How do these devices get an entry in the /dev folder and what decides the > name of the device? (and for that matter how does any device get an entry in > the /dev folder?) You never get /dev entries for ethernet under Linux. But what you do get are devices visible in ifconfig. The names are decided by the order in which the modules are loaded. The first will be eth0, the next eth1 etc Dave /------------------------------------------------------------------\ | Dr. David Alan Gilbert | Work: dg@px.uk.com (+44-161-286-2000) | | -------- G7FHJ --------|---------------------------------------- | | Home: dave@treblig.org http://www.treblig.clara.net | \------------------------------------------------------------------/